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()
- Author:
- dev
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected InternalResourceResolverprotected booleanprotected static org.slf4j.Loggerprotected Typeface -
Method Summary
-
Field Details
-
log
protected static org.slf4j.Logger log -
fontResolver
-
loadTypefaceFailed
protected boolean loadTypefaceFailed -
typeface
-
-
Method Details
-
getName
-
setName
-
getEmbedFontInfo
-
getEmbeddedURI
-
setEmbeddedURI
-
getPanose
-
setPanose
-
getTypeface
-