public class Type2CharStringParser extends Object
| Constructor and Description |
|---|
Type2CharStringParser(String fontName)
Constructs a new Type1CharStringParser object for a Type 1-equivalent font.
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
parse(byte[] bytes,
byte[][] globalSubrIndex,
byte[][] localSubrIndex,
String glyphName)
The given byte array will be parsed and converted to a Type2 sequence.
|
String |
toString() |
public Type2CharStringParser(String fontName)
fontName - font namepublic List<Object> parse(byte[] bytes, byte[][] globalSubrIndex, byte[][] localSubrIndex, String glyphName) throws IOException
bytes - the given mapping as byte arrayglobalSubrIndex - array containing all global subroutineslocalSubrIndex - array containing all local subroutinesglyphName - the name of the current glyphIOException - if an error occurs during readingCopyright © 2008–2025 The Apache Software Foundation. All rights reserved.