Package org.apache.pdfbox.pdmodel.font
Class FontMapping<T extends org.apache.fontbox.FontBoxFont>
java.lang.Object
org.apache.pdfbox.pdmodel.font.FontMapping<T>
- Direct Known Subclasses:
CIDFontMapping
A font mapping from a PDF font to a FontBox font.
- Author:
- John Hewson
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFont()
Returns the mapped, FontBox font.boolean
Returns true if the mapped font is a fallback, i.e.
-
Constructor Details
-
FontMapping
-
-
Method Details
-
getFont
Returns the mapped, FontBox font. This is never null. -
isFallback
public boolean isFallback()Returns true if the mapped font is a fallback, i.e. a substitute based on basic font style, such as bold/italic, rather than font name.
-