Package org.apache.fop.render.ps
Class Type1CharStringFormatter
java.lang.Object
org.apache.fop.render.ps.Type1CharStringFormatter
This class represents a formatter for CharString commands of a Type1 font.
author Villu Ruusmann
- Version:
- $Revision: 1.0 $
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Formats the given command sequence to a byte array.private voidwriteCommand(org.apache.fontbox.cff.CharStringCommand command) private voidwriteNumber(Integer number)
-
Field Details
-
output
-
-
Constructor Details
-
Type1CharStringFormatter
public Type1CharStringFormatter()
-
-
Method Details
-
format
Formats the given command sequence to a byte array.- Parameters:
sequence- the given command sequence- Returns:
- the formatted seuqence as byte array
-
writeCommand
private void writeCommand(org.apache.fontbox.cff.CharStringCommand command) -
writeNumber
-