public class CharStringConverter extends CharStringHandler
| Constructor and Description |
|---|
CharStringConverter(int defaultWidth,
int nominalWidth,
IndexData fontGlobalSubrIndex,
IndexData fontLocalSubrIndex)
Constructor.
|
| 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 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 © 2002-2012 Apache Software Foundation. All Rights Reserved.