Package org.apache.fop.fonts
Class DefaultFontConfigurator
java.lang.Object
org.apache.fop.fonts.DefaultFontConfigurator
- All Implemented Interfaces:
FontConfigurator<EmbedFontInfo>
The default configurator for fonts. This configurator can configure the more generic fonts used
by the renderers i.e. TTF, Type1 etc...
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final org.apache.commons.logging.Log
logger instance -
Constructor Summary
ConstructorsConstructorDescriptionDefaultFontConfigurator
(FontManager fontManager, FontEventListener listener, boolean strict) Main constructor -
Method Summary
Modifier and TypeMethodDescriptionconfigure
(FontConfig fontInfoConfig) Initializes font info settings from the user configuration
-
Field Details
-
log
protected static final org.apache.commons.logging.Log loglogger instance
-
-
Constructor Details
-
DefaultFontConfigurator
Main constructor- Parameters:
fontManager
- the font managerlistener
- the font event listenerstrict
- true if an Exception should be thrown if an error is found.
-
-
Method Details
-
configure
Initializes font info settings from the user configuration- Specified by:
configure
in interfaceFontConfigurator<EmbedFontInfo>
- Returns:
- a font info list
- Throws:
FOPException
- if an exception occurs while processing the configuration
-