public final class Standard14Fonts extends Object
pdfbox
2.0Modifier and Type | Method and Description |
---|---|
static org.apache.pdfbox.pdmodel.font.PDType1Font |
getByName(String fontName)
Get one of the 14 standard fonts by base font name.
|
public static org.apache.pdfbox.pdmodel.font.PDType1Font getByName(String fontName)
fontName
- the base font name, such as "Helvetica"
or "Helvetica-Bold"
PDType1Font
or null, of the fontName
is not mapped to any fontApache Camel