public class PDFontFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static PDFont |
createFont(COSDictionary dic)
This will create the correct font based on information in the dictionary.
|
static PDFont |
createFont(COSDictionary dic,
Map fontCache)
This will create the correct font based on information in the dictionary.
|
public static PDFont createFont(COSDictionary dic, Map fontCache) throws IOException
dic - 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.Copyright © 2002-2012 Apache Software Foundation. All Rights Reserved.