| Modifier and Type | Class and Description |
|---|---|
| private class |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private static final int | |
| private static final int | |
| private final String | |
| private static final int |
| Access | Constructor and Description |
|---|---|
| public | Type2CharStringParser(String
font name fontName)Constructs a new Type1CharStringParser object for a Type 1-equivalent font. |
| Modifier and Type | Method and Description |
|---|---|
| private int | |
| private int | |
| private int | |
| private byte[] | |
| public List | Returns: the Type2 sequencethe given mapping as byte array bytes, byte[][] array containing all global subroutines globalSubrIndex, byte[][] array containing all local subroutines localSubrIndex, String the name of the current glyph glyphName)The given byte array will be parsed and converted to a Type2 sequence. |
| private void | parseSequence(byte[] bytes, byte[][] globalSubrIndex, byte[][] localSubrIndex, Type2CharStringParser.
|
| private void | processCallGSubr(byte[][] globalSubrIndex, byte[][] localSubrIndex, Type2CharStringParser.
|
| private void | processCallSubr(byte[][] globalSubrIndex, byte[][] localSubrIndex, Type2CharStringParser.
|
| private void | processSubr(byte[][] globalSubrIndex, byte[][] localSubrIndex, byte[] subrBytes, Type2CharStringParser.
|
| private CharStringCommand | |
| private Number | |
| public String |
| CALLGSUBR | back to summary |
|---|---|
| private static final int CALLGSUBR | |
| CALLSUBR | back to summary |
|---|---|
| private static final int CALLSUBR | |
| CNTRMASK | back to summary |
|---|---|
| private static final int CNTRMASK | |
| fontName | back to summary |
|---|---|
| private final String fontName | |
| HINTMASK | back to summary |
|---|---|
| private static final int HINTMASK | |
| Type2CharStringParser | back to summary |
|---|---|
| public Type2CharStringParser(String fontName) Constructs a new Type1CharStringParser object for a Type 1-equivalent font.
| |
| calculateSubrNumber | back to summary |
|---|---|
| private int calculateSubrNumber(int operand, int subrIndexlength) | |
| countNumbers | back to summary |
|---|---|
| private int countNumbers(List<Object> sequence) | |
| getMaskLength | back to summary |
|---|---|
| private int getMaskLength(int hstemCount, int vstemCount) | |
| getSubrBytes | back to summary |
|---|---|
| private byte[] getSubrBytes(byte[][] subrIndex, Type2CharStringParser. | |
| parse | back to summary |
|---|---|
| public List The given byte array will be parsed and converted to a Type2 sequence.
| |
| parseSequence | back to summary |
|---|---|
| private void parseSequence(byte[] bytes, byte[][] globalSubrIndex, byte[][] localSubrIndex, Type2CharStringParser. | |
| processCallGSubr | back to summary |
|---|---|
| private void processCallGSubr(byte[][] globalSubrIndex, byte[][] localSubrIndex, Type2CharStringParser. | |
| processCallSubr | back to summary |
|---|---|
| private void processCallSubr(byte[][] globalSubrIndex, byte[][] localSubrIndex, Type2CharStringParser. | |
| processSubr | back to summary |
|---|---|
| private void processSubr(byte[][] globalSubrIndex, byte[][] localSubrIndex, byte[] subrBytes, Type2CharStringParser. | |
| readCommand | back to summary |
|---|---|
| private CharStringCommand readCommand(int b0, DataInput input, Type2CharStringParser. | |
| readNumber | back to summary |
|---|---|
| private Number readNumber(int b0, DataInput input) throws IOException | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv final List | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| private |
| hstemCount | back to summary |
|---|---|
| pack-priv int hstemCount | |
| sequence | back to summary |
|---|---|
| pack-priv final List<Object> sequence | |
| vstemCount | back to summary |
|---|---|
| pack-priv int vstemCount | |
| GlyphData | back to summary |
|---|---|
| private GlyphData() | |