org.apache.fontbox.cff
Class Type2CharStringParser
java.lang.Object
org.apache.fontbox.cff.Type2CharStringParser
public class Type2CharStringParser
- extends Object
This class represents a converter for a mapping into a Type2-sequence.
- Version:
- $Revision: 1.0 $
- Author:
- Villu Ruusmann
|
Method Summary |
List<Object> |
parse(byte[] bytes,
IndexData globalSubrIndex,
IndexData localSubrIndex)
The given byte array will be parsed and converted to a Type2 sequence. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Type2CharStringParser
public Type2CharStringParser()
parse
public List<Object> parse(byte[] bytes,
IndexData globalSubrIndex,
IndexData localSubrIndex)
throws IOException
- The 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:
IOException - if an error occurs during reading
Copyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.