Package org.apache.fop.pdf
Class PDFCIDFontDescriptor
- java.lang.Object
-
- org.apache.fop.pdf.PDFObject
-
- org.apache.fop.pdf.PDFDictionary
-
- org.apache.fop.pdf.PDFFontDescriptor
-
- org.apache.fop.pdf.PDFCIDFontDescriptor
-
- All Implemented Interfaces:
PDFWritable
public class PDFCIDFontDescriptor extends PDFFontDescriptor
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.
-
-
Field Summary
-
Fields inherited from class org.apache.fop.pdf.PDFDictionary
entries, order
-
-
Constructor Summary
Constructors Constructor Description PDFCIDFontDescriptor(java.lang.String basefont, int[] fontBBox, int capHeight, int flags, int italicAngle, int stemV, java.lang.String lang)
Create a /FontDescriptor object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setCIDSet(PDFStream cidSet)
Set the CID set stream.-
Methods inherited from class org.apache.fop.pdf.PDFFontDescriptor
getCIDSet, getFontFile, setCIDSet, setFontFile, setMetrics
-
Methods inherited from class org.apache.fop.pdf.PDFDictionary
containsKey, get, getChildren, getChildren, keySet, output, put, put, remove, writeDictionary
-
Methods inherited from class org.apache.fop.pdf.PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString
-
-
-
-
Constructor Detail
-
PDFCIDFontDescriptor
public PDFCIDFontDescriptor(java.lang.String basefont, int[] fontBBox, int capHeight, int flags, int italicAngle, int stemV, java.lang.String lang)
Create a /FontDescriptor object.- Parameters:
basefont
- the base font namefontBBox
- the bounding box for the described fontflags
- various characteristics of the fontcapHeight
- height of the capital lettersstemV
- the width of the dominant vertical stems of glyphsitalicAngle
- the angle of the vertical dominant strokeslang
- the language
-
-
Method Detail
-
setCIDSet
public void setCIDSet(PDFStream cidSet)
Set the CID set stream.- Parameters:
cidSet
- the PDF stream containing the CID set
-
-