org.apache.fop.pdf
Class PDFFontType0
- PDFWritable
public class PDFFontType0
Class representing a Type0 font.
Type0 fonts are specified on page 208 and onwards of the PDF 1.3 spec.
PDFFontType0(String fontname, String basefont, Object encoding) - Create the /Font object
|
PDFFontType0(String fontname, String basefont, Object encoding, PDFCIDFont descendantFonts) - Create the /Font object
|
encode , encodeString , encodeText , formatDateTime , formatObject , getDocument , getDocumentSafely , getGeneration , getObjectID , getObjectNumber , hasObjectNumber , makeReference , output , referencePDF , setDocument , setObjectNumber , toInlinePDFString , toPDF , toPDFString |
cmap
protected PDFCMap cmap
The character map
descendantFonts
protected PDFCIDFont descendantFonts
This should be an array of CIDFont but only the first one is used
PDFFontType0
public PDFFontType0(String fontname,
String basefont,
Object encoding)
Create the /Font object
fontname
- the internal name for the fontbasefont
- the base font nameencoding
- the character encoding schema used by the font
PDFFontType0
public PDFFontType0(String fontname,
String basefont,
Object encoding,
PDFCIDFont descendantFonts)
Create the /Font object
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
setCMAP
public void setCMAP(PDFCMap cmap)
Sets the character map
setDescendantFonts
public void setDescendantFonts(PDFCIDFont descendantFonts)
Set the descendant font
descendantFonts
- the CIDFont upon which this font is based
Copyright 1999-2007 The Apache Software Foundation. All Rights Reserved.