Package org.apache.fop.render.ps
Class Type1CharStringFormatter
- java.lang.Object
-
- org.apache.fop.render.ps.Type1CharStringFormatter
-
public class Type1CharStringFormatter extends java.lang.Object
This class represents a formatter for CharString commands of a Type1 font. author Villu Ruusmann- Version:
- $Revision: 1.0 $
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.ByteArrayOutputStream
output
-
Constructor Summary
Constructors Constructor Description Type1CharStringFormatter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]
format(java.util.List<java.lang.Object> sequence)
Formats the given command sequence to a byte array.private void
writeCommand(org.apache.fontbox.cff.CharStringCommand command)
private void
writeNumber(java.lang.Integer number)
-
-
-
Method Detail
-
format
public byte[] format(java.util.List<java.lang.Object> sequence)
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
private void writeNumber(java.lang.Integer number)
-
-