public final class PDFontFactory extends Object
Modifier and Type | Method and Description |
---|---|
static PDFont |
createDefaultFont()
Create a default font.
|
static PDFont |
createFont(COSDictionary dictionary)
Creates a new PDFont instance with the appropriate subclass.
|
public static PDFont createFont(COSDictionary dictionary) throws IOException
dictionary
- a font dictionaryIOException
- if something goes wrongpublic static PDFont createDefaultFont() throws IOException
IOException
- if something goes wrongCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.