PDFWritablepublic class PDFFontType0 extends PDFFont
Type0 fonts are specified on page 208 and onwards of the PDF 1.3 spec.
entries, order| Constructor | Description |
|---|---|
PDFFontType0(java.lang.String fontname,
java.lang.String basefont,
java.lang.Object encoding) |
Create the /Font object
|
PDFFontType0(java.lang.String fontname,
java.lang.String basefont,
java.lang.Object encoding,
PDFCIDFont descendantFonts) |
Create the /Font object
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
setCMAP(PDFCMap cmap) |
Sets the character map
|
void |
setDescendantFonts(PDFCIDFont descendantFonts) |
Set the descendant font
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontainsKey, get, getChildren, getChildren, keySet, put, put, remove, writeDictionarycreateFont, getBaseFont, getName, getPDFNameForFontType, output, setEncoding, setEncoding, setToUnicode, validatecontentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFStringpublic PDFFontType0(java.lang.String fontname,
java.lang.String basefont,
java.lang.Object encoding)
fontname - the internal name for the fontbasefont - the base font nameencoding - the character encoding schema used by the fontpublic PDFFontType0(java.lang.String fontname,
java.lang.String basefont,
java.lang.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 1999-2016 The Apache Software Foundation. All Rights Reserved.