Class PDFFontType0
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDictionary
org.apache.fop.pdf.PDFFont
org.apache.fop.pdf.PDFFontType0
- All Implemented Interfaces:
CompressedObject, PDFWritable
Class representing a Type0 font.
Type0 fonts are specified on page 208 and onwards of the PDF 1.3 spec.
-
Field Summary
Fields inherited from class PDFDictionary
entries, order -
Constructor Summary
ConstructorsConstructorDescriptionPDFFontType0(String fontname, String basefont, Object encoding) Create the /Font objectPDFFontType0(String fontname, String basefont, Object encoding, PDFCIDFont descendantFonts) Create the /Font object -
Method Summary
Modifier and TypeMethodDescriptionvoidSets the character mapvoidsetDescendantFonts(PDFCIDFont descendantFonts) Set the descendant fontMethods inherited from class PDFFont
createFont, getBaseFont, getName, getPDFNameForFontType, output, setEncoding, setEncoding, setToUnicode, validateMethods inherited from class PDFDictionary
containsKey, get, getChildren, getChildren, keySet, put, put, remove, writeDictionaryMethods inherited from class PDFObject
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, supportsObjectStream, toPDF, toPDFString
-
Constructor Details
-
PDFFontType0
-
PDFFontType0
Create the /Font object- Parameters:
fontname- the internal name for the fontbasefont- the base font nameencoding- the character encoding schema used by the fontdescendantFonts- the CIDFont upon which this font is based
-
-
Method Details
-
setDescendantFonts
Set the descendant font- Parameters:
descendantFonts- the CIDFont upon which this font is based
-
setCMAP
-