public class PDFontFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static PDFont |
createDefaultFont()
Create a default font
|
static PDFont |
createFont(COSDictionary dic)
This will create the correct font based on information in the dictionary.
|
static PDFont |
createFont(COSDictionary dic,
Map fontCache)
Deprecated.
due to some side effects font caching is no longer supported,
use
createFont(COSDictionary) instead |
public static PDFont createFont(COSDictionary dic, Map fontCache) throws IOException
createFont(COSDictionary) insteaddic - The populated dictionary.fontCache - A Map to cache already created fontsIOException - If the dictionary is not valid.public static PDFont createFont(COSDictionary dic) throws IOException
dic - The populated dictionary.IOException - If the dictionary is not valid.public static PDFont createDefaultFont() throws IOException
IOException - if something goes wrongCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.