org.pdfbox.pdmodel.font
Class PDFontFactory
java.lang.Object
org.pdfbox.pdmodel.font.PDFontFactory
- public class PDFontFactory
- extends Object
This will create the correct type of font based on information in the dictionary.
- Version:
- $Revision: 1.4 $
- Author:
- Ben Litchfield (ben@csh.rit.edu)
createFont
public static PDFont createFont(COSDictionary dic)
throws IOException
- This will create the correct font based on information in the dictionary.
- Parameters:
dic - The populated dictionary.
- Returns:
- The corrent implementation for the font.
- Throws:
IOException - If the dictionary is not valid.
Copyright null EGIZ - E-Government Innovation Center. All Rights Reserved.