public class PDFFontType0 extends PDFFont
Type0 fonts are specified on page 208 and onwards of the PDF 1.3 spec.
entries, order
DATE_FORMAT, log
Constructor and 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 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, validate
get, put, put, writeDictionary
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatDateTime, formatDateTime, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setParent, toPDF, toPDFString
public 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-2010 The Apache Software Foundation. All Rights Reserved.