Package org.apache.fontbox.cff
Class Type2CharStringParser
- java.lang.Object
-
- org.apache.fontbox.cff.Type2CharStringParser
-
public class Type2CharStringParser extends java.lang.ObjectThis class represents a converter for a mapping into a Type2-sequence.- Version:
- $Revision: 1.0 $
- Author:
- Villu Ruusmann
-
-
Constructor Summary
Constructors Constructor Description Type2CharStringParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Object>parse(byte[] bytes, IndexData globalSubrIndex, IndexData localSubrIndex)The given byte array will be parsed and converted to a Type2 sequence.
-
-
-
Method Detail
-
parse
public java.util.List<java.lang.Object> parse(byte[] bytes, IndexData globalSubrIndex, IndexData localSubrIndex) throws java.io.IOExceptionThe given byte array will be parsed and converted to a Type2 sequence.- Parameters:
bytes- the given mapping as byte arrayglobalSubrIndex- index containing all global subroutineslocalSubrIndex- index containing all local subroutines- Returns:
- the Type2 sequence
- Throws:
java.io.IOException- if an error occurs during reading
-
-