Package org.apache.camel.component.pdf
Class Standard14Fonts
java.lang.Object
org.apache.camel.component.pdf.Standard14Fonts
The 14 standard fonts by name. Created here because there is no way to get a standard font by name in
pdfbox
2.0-
Method Summary
-
Method Details
-
getByName
Get one of the 14 standard fonts by base font name.- Parameters:
fontName
- the base font name, such as"Helvetica"
or"Helvetica-Bold"
- Returns:
- the
PDType1Font
or null, of thefontName
is not mapped to any font
-