Package com.tom_roush.fontbox.cff
Class Type1CharStringParser
- java.lang.Object
-
- com.tom_roush.fontbox.cff.Type1CharStringParser
-
public class Type1CharStringParser extends Object
This class represents a converter for a mapping into a Type 1 sequence.- See Also:
- "Adobe Type 1 Font Format, Adobe Systems (1999)"
-
-
Constructor Summary
Constructors Constructor Description Type1CharStringParser(String fontName, String glyphName)Constructs a new Type1CharStringParser object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>parse(byte[] bytes, List<byte[]> subrs)The given byte array will be parsed and converted to a Type1 sequence.
-
-
-
Method Detail
-
parse
public List<Object> parse(byte[] bytes, List<byte[]> subrs) throws 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:
IOException- if an error occurs during reading
-
-