Class FontMapping<T extends FontBoxFont>
- java.lang.Object
-
- com.tom_roush.pdfbox.pdmodel.font.FontMapping<T>
-
- Direct Known Subclasses:
CIDFontMapping
public class FontMapping<T extends FontBoxFont> extends Object
A font mapping from a PDF font to a FontBox font.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TgetFont()Returns the mapped, FontBox font.booleanisFallback()Returns true if the mapped font is a fallback, i.e.
-
-
-
Method Detail
-
getFont
public T 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.
-
-