Class DefaultFontConfig
java.lang.Object
org.apache.fop.fonts.DefaultFontConfig
- All Implemented Interfaces:
FontConfig
The font configuration data for the more generic fonts such as TTF and Type1, that are used by
most the renderers.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classParses the morge generic font information.static final classThe directory to find fonts within.static final classRepresents a font object within the FOP conf.private static final classNested classes/interfaces inherited from interface FontConfig
FontConfig.FontConfigParser -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final booleanprivate final List<DefaultFontConfig.Directory> private final List<DefaultFontConfig.Font> private static final org.apache.commons.logging.Log -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a list of directories that were parsed.getFonts()Returns the list of fonts that were parsed.Returns a list of referenced font families.booleanWhether or not to enable auto-detecting of fonts in the system.
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG -
directories
-
fonts
-
referencedFontFamilies
-
autoDetectFonts
private final boolean autoDetectFonts
-
-
Constructor Details
-
DefaultFontConfig
private DefaultFontConfig(boolean autoDetectFonts)
-
-
Method Details
-
getFonts
Returns the list of fonts that were parsed.- Returns:
- a list of fonts
-
getDirectories
Returns a list of directories that were parsed.- Returns:
- a list of directories
-
getReferencedFontFamily
-
isAutoDetectFonts
public boolean isAutoDetectFonts()Whether or not to enable auto-detecting of fonts in the system.- Returns:
- true to enable auto-detect
-