|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CoreFontFactory
This interface describes the features of a font factory needed by the core.
| Method Summary | |
|---|---|
BackendFontManager |
createManager(java.util.List<java.lang.String> fontTypes)
Create a manager for the back-end font. |
FontKey |
getFontKey(FontKey fontKey,
FixedDimen size)
Returns a font key for the font. |
FontKey |
getFontKey(java.lang.String fontName)
Returns a font key for the font. |
FontKey |
getFontKey(java.lang.String fontName,
FixedDimen size)
Returns a font key for the font. |
FontKey |
getFontKey(java.lang.String fontName,
FixedDimen size,
java.util.Map<java.lang.String,?> map)
Returns a font key for the font. |
FontKey |
getFontKey(java.lang.String fontName,
FixedDimen size,
java.util.Map<java.lang.String,?> map,
java.util.List<java.lang.String> feature)
Returns a font key for the font. |
ExtexFont |
getInstance(FontKey key)
Return a new instance. |
| Methods inherited from interface org.extex.resource.ResourceFinder |
|---|
enableTracing, findResource |
| Method Detail |
|---|
BackendFontManager createManager(java.util.List<java.lang.String> fontTypes)
throws ConfigurationException
fontTypes - the font types, which the back-end can use. The order of
the entries in the list determine the preference for the font
format. This should be taken into account when several
alternatives are possible.
ConfigurationException - from the configuration system.
FontKey getFontKey(FontKey fontKey,
FixedDimen size)
fontKey - the key of the font.size - the size of the font.
FontKey getFontKey(java.lang.String fontName)
fontName - the name of the font.
FontKey getFontKey(java.lang.String fontName,
FixedDimen size)
fontName - the name of the font.size - the size of the font.
FontKey getFontKey(java.lang.String fontName,
FixedDimen size,
java.util.Map<java.lang.String,?> map)
fontName - the name of the font.size - the size of the font.map - the map for the key.
FontKey getFontKey(java.lang.String fontName,
FixedDimen size,
java.util.Map<java.lang.String,?> map,
java.util.List<java.lang.String> feature)
fontName - the name of the font.size - the size of the font.map - the map for the key.feature - the list of features.
ExtexFont getInstance(FontKey key)
throws FontException
NullFont is
returned.
If no font is found, then null is returned.
key - the fount key
ConfigurationException - from the resource finder.
FontException - if a font error occurred.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||