Package org.apache.fontbox.cff
Class Type1CharStringParser
- java.lang.Object
-
- org.apache.fontbox.cff.Type1CharStringParser
-
public class Type1CharStringParser extends java.lang.Object
This class represents a converter for a mapping into a Type 1 sequence.- Author:
- Villu Ruusmann, John Hewson
- See Also:
- "Adobe Type 1 Font Format, Adobe Systems (1999)"
-
-
Constructor Summary
Constructors Constructor Description Type1CharStringParser(java.lang.String fontName, java.lang.String glyphName)
Constructs a new Type1CharStringParser object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>
parse(byte[] bytes, java.util.List<byte[]> subrs)
The given byte array will be parsed and converted to a Type1 sequence.
-
-
-
Method Detail
-
parse
public java.util.List<java.lang.Object> parse(byte[] bytes, java.util.List<byte[]> subrs) throws java.io.IOException
The given byte array will be parsed and converted to a Type1 sequence.- Parameters:
bytes
- the given mapping as byte arraysubrs
- list of local subroutines- Returns:
- the Type1 sequence
- Throws:
java.io.IOException
- if an error occurs during reading
-
-