org.apache.fop.pdf
Class PDFCIDFontDescriptor
- PDFWritable
public class PDFCIDFontDescriptor
class representing a font descriptor for CID fonts.
Font descriptors for CID fonts are specified on page 227 and onwards of the PDF 1.3 spec.
PDFCIDFontDescriptor(String basefont, int[] fontBBox, int capHeight, int flags, int italicAngle, int stemV, String lang)- create the /FontDescriptor object
|
protected void | fillInPDF(StringBuffer p)- Fill in the pdf data for this font descriptor.
|
void | setCIDSet(PDFStream cidSet)- Set the CID set stream.
|
encode, encodeString, encodeText, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, hasObjectNumber, makeReference, output, referencePDF, setDocument, setObjectNumber, toInlinePDFString, toPDF, toPDFString |
cidSet
protected PDFStream cidSet
The cid set stream
lang
protected String lang
The language for the font
PDFCIDFontDescriptor
public PDFCIDFontDescriptor(String basefont,
int[] fontBBox,
int capHeight,
int flags,
int italicAngle,
int stemV,
String lang) create the /FontDescriptor object
basefont - the base font namefontBBox - the bounding box for the described fontcapHeight - height of the capital lettersflags - various characteristics of the fontitalicAngle - the angle of the vertical dominant strokesstemV - the width of the dominant vertical stems of glyphslang - the language
fillInPDF
protected void fillInPDF(StringBuffer p)
Fill in the pdf data for this font descriptor.
The charset specific dictionary entries are output.
- fillInPDF in interface PDFFontDescriptor
p - the string buffer to append the data
setCIDSet
public void setCIDSet(PDFStream cidSet)
Set the CID set stream.
cidSet - the pdf stream cotnaining the CID set
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.