Package org.apache.fop.fonts
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
Modifier and TypeClassDescriptionstatic final class
Parses the morge generic font information.static final class
The directory to find fonts within.static final class
Represents a font object within the FOP conf.Nested classes/interfaces inherited from interface org.apache.fop.fonts.FontConfig
FontConfig.FontConfigParser
-
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.boolean
Whether or not to enable auto-detecting of fonts in the system.
-
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
Returns a list of referenced font families.- Returns:
- the referenced font families
-
isAutoDetectFonts
public boolean isAutoDetectFonts()Whether or not to enable auto-detecting of fonts in the system.- Returns:
- true to enable auto-detect
-