public class CharStringConverter extends CharStringHandler
| Constructor and Description |
|---|
CharStringConverter(int defaultWidth,
int nominalWidth)
Constructor.
|
CharStringConverter(int defaultWidth,
int nominalWidth,
IndexData fontGlobalSubrIndex,
IndexData fontLocalSubrIndex)
Deprecated.
Use
CharStringConverter(int, int) instead |
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
convert(List<Object> commandSequence)
Converts a sequence of Type1/Type2 commands into a sequence of CharStringCommands.
|
List<Integer> |
handleCommand(List<Integer> numbers,
CharStringCommand command)
Handler for CharStringCommands.
|
handleSequencepublic CharStringConverter(int defaultWidth,
int nominalWidth,
IndexData fontGlobalSubrIndex,
IndexData fontLocalSubrIndex)
CharStringConverter(int, int) insteaddefaultWidth - default widthnominalWidth - nominal widthpublic CharStringConverter(int defaultWidth,
int nominalWidth)
defaultWidth - default widthnominalWidth - nominal widthpublic List<Object> convert(List<Object> commandSequence)
commandSequence - the type1/type2 sequencepublic List<Integer> handleCommand(List<Integer> numbers, CharStringCommand command)
handleCommand in class CharStringHandlernumbers - a list of numberscommand - the CharStringCommandCopyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.