public class PDFontFactory
extends java.lang.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,
java.util.Map fontCache)
Deprecated.
due to some side effects font caching is no longer supported,
use
createFont(COSDictionary) instead |
public static PDFont createFont(COSDictionary dic, java.util.Map fontCache) throws java.io.IOException
createFont(COSDictionary) insteaddic - The populated dictionary.fontCache - A Map to cache already created fontsjava.io.IOException - If the dictionary is not valid.public static PDFont createFont(COSDictionary dic) throws java.io.IOException
dic - The populated dictionary.java.io.IOException - If the dictionary is not valid.public static PDFont createDefaultFont() throws java.io.IOException
java.io.IOException - if something goes wrong