public class Type1FontLoader extends FontLoader
embedded, fontFileURI, loaded, resourceResolver, returnFont, useAdvanced, useKerning
Constructor and Description |
---|
Type1FontLoader(FontUris fontUris,
boolean embedded,
EmbeddingMode embeddingMode,
boolean useKerning,
InternalResourceResolver resourceResolver)
Constructs a new Type 1 font loader.
|
Modifier and Type | Method and Description |
---|---|
protected void |
read()
Reads/parses the font data.
|
getFont, loadFont
public Type1FontLoader(FontUris fontUris, boolean embedded, EmbeddingMode embeddingMode, boolean useKerning, InternalResourceResolver resourceResolver) throws java.io.IOException
fontFileURI
- the URI to the PFB file of a Type 1 fontembedded
- indicates whether the font is embedded or referenceduseKerning
- indicates whether to load kerning information if availableresourceResolver
- the font resolver used to resolve URIsjava.io.IOException
- In case of an I/O errorprotected void read() throws java.io.IOException
read
in class FontLoader
java.io.IOException
- In case of an I/O errorCopyright 1999-2017 The Apache Software Foundation. All Rights Reserved.