Package org.apache.fop.render.ps
Class Type1FontFormatter
java.lang.Object
org.apache.fop.render.ps.Type1FontFormatter
This class represents a formatter for a given Type1 font.
author Villu Ruusmann
- Version:
- $Revision: 1.0 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Read and convert a given CFFFont.private static StringformatArray(Object object, boolean executable) private static StringformatArray(Object object, NumberFormat format, boolean executable) private static StringformatElement(Object object, NumberFormat format) private voidprintEexecFontDictionary(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output) private voidprintFont(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output, String iStr) private voidprintFontDictionary(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output, String iStr)
-
Field Details
-
gids
-
-
Constructor Details
-
Type1FontFormatter
-
-
Method Details
-
format
Read and convert a given CFFFont.- Parameters:
font- the given CFFFonti-- Returns:
- the Type1 font
- Throws:
IOException- if an error occurs during reading the given font
-
printFont
private void printFont(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output, String iStr) throws IOException - Throws:
IOException
-
printFontDictionary
private void printFontDictionary(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output, String iStr) throws IOException - Throws:
IOException
-
printEexecFontDictionary
private void printEexecFontDictionary(org.apache.fontbox.cff.CFFFont font, org.apache.fontbox.cff.DataOutput output) throws IOException - Throws:
IOException
-
formatArray
-
formatArray
-
formatElement
-