Package org.apache.fop.fonts.type1
Class Type1FontLoader
- java.lang.Object
-
- org.apache.fop.fonts.FontLoader
-
- org.apache.fop.fonts.type1.Type1FontLoader
-
public class Type1FontLoader extends FontLoader
Loads a Type 1 font into memory directly from the original font file.
-
-
Field Summary
-
Fields inherited from class org.apache.fop.fonts.FontLoader
embedded, fontFileURI, loaded, resourceResolver, returnFont, useAdvanced, useKerning
-
-
Constructor Summary
Constructors Constructor Description Type1FontLoader(FontUris fontUris, boolean embedded, EmbeddingMode embeddingMode, boolean useKerning, InternalResourceResolver resourceResolver)
Constructs a new Type 1 font loader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
read()
Reads/parses the font data.-
Methods inherited from class org.apache.fop.fonts.FontLoader
getFont, loadFont
-
-
-
-
Constructor Detail
-
Type1FontLoader
public Type1FontLoader(FontUris fontUris, boolean embedded, EmbeddingMode embeddingMode, boolean useKerning, InternalResourceResolver resourceResolver) throws java.io.IOException
Constructs a new Type 1 font loader.- Parameters:
fontUris
- 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 URIs- Throws:
java.io.IOException
- In case of an I/O error
-
-
Method Detail
-
read
protected void read() throws java.io.IOException
Reads/parses the font data.- Specified by:
read
in classFontLoader
- Throws:
java.io.IOException
- In case of an I/O error
-
-