#include <PdfTTFWriter.h>
Public Member Functions | |
PdfTTFWriter () | |
void | Read (PdfInputDevice *pDevice) |
void | Subset () |
void | Write (PdfOutputDevice *pDevice) |
This class is used internally to do font subsetting.
The usual way to use this class is:
PdfTTFWriter writer; writer.Read ( [an input device] ); // read the font from a device writer.Subset ( ); // do the subsetting writer.Write ( [an output device] ); // write the font back to a device
|
Create a PdfTTFWriter object. For testing purposes. TODO: Remove |
|
Fills the internal data structures using an existing TrueType font.
|
|
Do the actual subsetting of the font data TODO |
|
Write a TTF font from the current internal structures to an output device.
|