public class Type2CharStringParser extends Object
| Constructor and Description |
|---|
Type2CharStringParser(String fontName,
int cid)
Constructs a new Type1CharStringParser object for a CID-Keyed font.
|
Type2CharStringParser(String fontName,
String glyphName)
Constructs a new Type1CharStringParser object for a Type 1-equivalent font.
|
public Type2CharStringParser(String fontName, String glyphName)
fontName - font nameglyphName - glyph namepublic Type2CharStringParser(String fontName, int cid)
fontName - font namecid - CIDpublic List<Object> parse(byte[] bytes, IndexData globalSubrIndex, IndexData localSubrIndex) throws IOException
bytes - the given mapping as byte arrayglobalSubrIndex - index containing all global subroutineslocalSubrIndex - index containing all local subroutinesIOException - if an error occurs during readingCopyright © 2008–2015 The Apache Software Foundation. All rights reserved.