Package org.apache.fop.fonts
Class FontDetectorFactory.DefaultFontDetector
java.lang.Object
org.apache.fop.fonts.FontDetectorFactory.DefaultFontDetector
- All Implemented Interfaces:
FontDetector
- Enclosing class:
- FontDetectorFactory
Detector of operating system and classpath fonts
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String[]
private static org.apache.commons.logging.Log
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
detect
(FontManager fontManager, FontAdder fontAdder, boolean strict, FontEventListener eventListener, List<EmbedFontInfo> fontInfoList) Detect installed fonts on the system
-
Field Details
-
log
private static org.apache.commons.logging.Log log -
FONT_MIMETYPES
-
-
Constructor Details
-
DefaultFontDetector
private DefaultFontDetector()
-
-
Method Details
-
detect
public void detect(FontManager fontManager, FontAdder fontAdder, boolean strict, FontEventListener eventListener, List<EmbedFontInfo> fontInfoList) throws FOPException Detect installed fonts on the system- Specified by:
detect
in interfaceFontDetector
- Parameters:
fontInfoList
- a list of fontinfo to populate- Throws:
FOPException
- thrown if a problem occurred during detection
-