Package org.docx4j.fonts.fop.fonts
Class FontDetectorFactory
java.lang.Object
org.docx4j.fonts.fop.fonts.FontDetectorFactory
public final class FontDetectorFactory
extends java.lang.Object
A factory that provides the font detecting machanism.
-
Method Summary
Modifier and Type Method Description static FontDetectorcreateDefault()Creates the default font detectorstatic FontDetectorcreateDisabled()Creates a disabled font detector which, by definition, does nothing to detect fonts.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
createDefault
Creates the default font detector- Returns:
- the default font detector
-
createDisabled
Creates a disabled font detector which, by definition, does nothing to detect fonts.- Returns:
- the completely restricted font detector
-