org.apache.fop.pdf
Class PDFTTFStream
- PDFWritable
public class PDFTTFStream
Special PDFStream for embeddable TrueType fonts.
protected int | output(java.io.OutputStream stream) - Overload the base object method so we don't have to copy
byte arrays around so much
|
protected void | populateStreamDict(Object lengthEntry) -
|
void | setData(byte[] data, int size) - Sets the TrueType font data.
|
encode , encodeBinaryToHexString , encodeString , encodeText , formatDateTime , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , getParent , hasObjectNumber , makeReference , output , outputInline , referencePDF , setDocument , setObjectNumber , setParent , toPDF , toPDFString |
PDFTTFStream
public PDFTTFStream(int len)
Main constructor
output
protected int output(java.io.OutputStream stream)
throws java.io.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-2008 The Apache Software Foundation. All Rights Reserved.