public class PDFFontTable extends FontTable
FontTable.Entry| Constructor and Description | 
|---|
| PDFFontTable(PDFWriter pdf) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | addFontDictionary()Adds all fonts to a dictionary named "FontList". | 
| protected String | createFontReference(Font f)Creates the reference by numbering them. | 
| void | embedAll(FontRenderContext context,
        boolean embed,
        String embedAs)Embeds all not yet embedded fonts to the file. | 
| void | firstRequest(FontTable.Entry e,
            boolean embed,
            String embedAs)Called whenever a specific font is used for the first time. | 
| CharTable | getEncodingTable()Returns a default CharTable to be used for normal text (not Symbol or
 Dingbats). | 
| protected Font | substituteFont(Font font) | 
fontReference, getEntries, normalizepublic PDFFontTable(PDFWriter pdf)
public int addFontDictionary()
                      throws IOException
IOExceptionpublic void embedAll(FontRenderContext context, boolean embed, String embedAs) throws IOException
IOExceptionpublic CharTable getEncodingTable()
FontTablegetEncodingTable in class FontTablepublic void firstRequest(FontTable.Entry e, boolean embed, String embedAs)
FontTablefirstRequest in class FontTableprotected Font substituteFont(Font font)
substituteFont in class FontTableprotected String createFontReference(Font f)
createFontReference in class FontTableCopyright © 2014. All rights reserved.