Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

PoDoFo::NonPublic::PdfTTFWriter Class Reference

#include <PdfTTFWriter.h>

List of all members.

Public Member Functions

 PdfTTFWriter ()
void Read (PdfInputDevice *pDevice)
void Subset ()
void Write (PdfOutputDevice *pDevice)


Detailed Description

An internal class which can parse a TrueType font file and write a subset of this TrueType font back to an output device.

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


Constructor & Destructor Documentation

PoDoFo::NonPublic::PdfTTFWriter::PdfTTFWriter  ) 
 

Create a PdfTTFWriter object. For testing purposes.

TODO: Remove


Member Function Documentation

void PoDoFo::NonPublic::PdfTTFWriter::Read PdfInputDevice pDevice  ) 
 

Fills the internal data structures using an existing TrueType font.

Parameters:
pDevice the TTF is read from this device

void PoDoFo::NonPublic::PdfTTFWriter::Subset  ) 
 

Do the actual subsetting of the font data TODO

void PoDoFo::NonPublic::PdfTTFWriter::Write PdfOutputDevice pDevice  ) 
 

Write a TTF font from the current internal structures to an output device.

Parameters:
pDevice write the font to this device


Generated on Sun Feb 12 13:19:36 2012 for PoDoFo by  doxygen 1.3.9.1