org.apache.fop.pdf
Class PDFTTFStream
- PDFWritable
public class PDFTTFStream
Special PDFStream for embeddable TrueType fonts.
protected String | buildStreamDict(String lengthEntry)
|
protected int | output(java.io.OutputStream stream) - Overload the base object method so we don't have to copy
byte arrays around so much
|
void | setData(byte[] data, int size) - Sets the TrueType font data.
|
encode , encodeString , encodeText , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , hasObjectNumber , makeReference , output , referencePDF , setDocument , setObjectNumber , toInlinePDFString , toPDF , toPDFString |
PDFTTFStream
public PDFTTFStream(int len)
Main constructor
output
protected int output(java.io.OutputStream stream)
throws IOException
Overload the base object method so we don't have to copy
byte arrays around so much
setData
public void setData(byte[] data,
int size)
throws IOException
Sets the TrueType font data.
data
- the font payloadsize
- size of the payload
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.