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, byte[][] globalSubrIndex, byte[][] localSubrIndex) throws IOException
bytes - the given mapping as byte arrayglobalSubrIndex - array containing all global subroutineslocalSubrIndex - array containing all local subroutinesIOException - if an error occurs during readingCopyright © 2002–2017 The Apache Software Foundation. All rights reserved.