public class PDFFontType0 extends PDFFont
Type0 fonts are specified on page 208 and onwards of the PDF 1.3 spec.
entries, order| Constructor and Description |
|---|
PDFFontType0(String fontname,
String basefont,
Object encoding)
Create the /Font object
|
PDFFontType0(String fontname,
String basefont,
Object encoding,
PDFCIDFont descendantFonts)
Create the /Font object
|
| Modifier and Type | Method and Description |
|---|---|
void |
setCMAP(PDFCMap cmap)
Sets the character map
|
void |
setDescendantFonts(PDFCIDFont descendantFonts)
Set the descendant font
|
createFont, getBaseFont, getName, getPDFNameForFontType, output, setEncoding, setEncoding, setToUnicode, validatecontainsKey, get, getChildren, getChildren, keySet, put, put, remove, writeDictionarycontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, supportsObjectStream, toPDF, toPDFStringpublic PDFFontType0(String fontname, String basefont, Object encoding)
fontname - the internal name for the fontbasefont - the base font nameencoding - the character encoding schema used by the fontpublic PDFFontType0(String fontname, String basefont, Object encoding, PDFCIDFont descendantFonts)
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 basedpublic void setDescendantFonts(PDFCIDFont descendantFonts)
descendantFonts - the CIDFont upon which this font is basedpublic void setCMAP(PDFCMap cmap)
cmap - the character mapCopyright © 2025 Apache Software Foundation. All rights reserved.