Package org.apache.pdfbox.pdmodel.font
Class FontManager
java.lang.Object
org.apache.pdfbox.pdmodel.font.FontManager
This class is used as font manager.
- Version:
- $Revision: 1.0 $
- Author:
- Andreas Lehmkühler
-
Method Summary
Modifier and TypeMethodDescriptionstatic Font
getAwtFont
(String font) Get the font for the given fontname.static Font
Get the standard font from the environment, usually Arial or Times New Roman.
-
Method Details
-
getStandardFont
Get the standard font from the environment, usually Arial or Times New Roman.- Returns:
- The standard font
-
getAwtFont
Get the font for the given fontname.- Parameters:
font
- The name of the font.- Returns:
- The font we are looking for or a similar font or null if nothing is found.
-