| java.lang.Object org.pdfbox.pdmodel.font.PDFontFactory
PDFontFactory | public class PDFontFactory (Code) | | This will create the correct type of font based on information in the dictionary.
author: Ben Litchfield version: $Revision: 1.6 $ |
createFont | public static PDFont createFont(COSDictionary dic, Map fontCache) throws IOException(Code) | | Create a font from the dictionary. Use the fontCache to get the existing
object instead of creating it.
Parameters: dic - The font dictionary. Parameters: fontCache - The font cache. The PDModel object for the cos dictionary. throws: IOException - If there is an error creating the font. |
createFont | public static PDFont createFont(COSDictionary dic) throws IOException(Code) | | This will create the correct font based on information in the dictionary.
Parameters: dic - The populated dictionary. The corrent implementation for the font. throws: IOException - If the dictionary is not valid. |
|
|