public final class PDFontFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static PDFont |
createDefaultFont()
Deprecated.
|
static PDFont |
createFont(COSDictionary dictionary)
Creates a new PDFont instance with the appropriate subclass.
|
static PDFont |
createFont(COSDictionary dictionary,
ResourceCache resourceCache)
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 createFont(COSDictionary dictionary, ResourceCache resourceCache) throws IOException
dictionary - a font dictionaryresourceCache - resource cache, only useful for type 3 fonts, can be nullIOException - if something goes wrong@Deprecated public static PDFont createDefaultFont() throws IOException
PDType1Font.HELVETICAIOException - if something goes wrongCopyright © 2002–2025 The Apache Software Foundation. All rights reserved.