#include <PdfFontTTFSubset.h>
Public Types | |
enum | EFontFileType { eFontFileType_TTF, eFontFileType_TTC, eFontFileType_OTF, eFontFileType_Unknown } |
Public Member Functions | |
PdfFontTTFSubset (const char *pszFontFileName, PdfFontMetrics *pMetrics, unsigned short nFaceIndex=0) | |
PdfFontTTFSubset (PdfInputDevice *pDevice, PdfFontMetrics *pMetrics, EFontFileType eType, unsigned short nFaceIndex=0) | |
void | BuildFont (PdfOutputDevice *pOutputDevice) |
void | AddGlyph (unsigned short nGlyphIndex) |
void | AddCharacter (pdf_utf16be nCharCode) |
size_t | GetSize () const |
|
Internal enum specifying the type of a fontfile. |
|
Create a new PdfFontTTFSubset from an existing TTF font file.
|
|
Create a new PdfFontTTFSubset from an existing TTF font file using an input device.
|
|
Add an unicode character to the subset
|
|
Add a new glyph index to the subset.
|
|
Actually generate the subsetted font
|
|
Get the number of glyphs in this font.
|