Package org.docx4j.fonts
Class PhysicalFont
java.lang.Object
org.docx4j.fonts.PhysicalFont
This class represents a font which is
available on the system.
It essentially wraps fop's EmbedFontInfo,
but names it using the name from the
triplet.
However, it extends that with Panose
info. TODO: use reflection, so that
things don't fail if the fop jar
doesn't include fontInfo.getPanose()
or fontInfo.getEmbedFile()
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) URIprivate EmbedFontInfoprotected InternalResourceResolverprotected booleanprotected static org.slf4j.Loggerprivate static boolean(package private) String(package private) Panoseprotected Typeface -
Constructor Summary
ConstructorsConstructorDescriptionPhysicalFont(String name, EmbedFontInfo embedFontInfo, InternalResourceResolver fontResolver) -
Method Summary
-
Field Details
-
Constructor Details
-
PhysicalFont
PhysicalFont(String name, EmbedFontInfo embedFontInfo, InternalResourceResolver fontResolver)
-
-
Method Details
-
getName
-
setName
-
getEmbedFontInfo
-
getEmbeddedURI
-
setEmbeddedURI
-
getPanose
-
setPanose
-
getTypeface
-