wxPdfFontTrueType Class Reference

Class representing TrueType fonts. (For internal use only). More...

#include <pdffont.h>

Inheritance diagram for wxPdfFontTrueType:

wxPdfFont List of all members.

Public Member Functions

 wxPdfFontTrueType (int index)
 < Constructor
virtual ~wxPdfFontTrueType ()
 Default destructor.
virtual double GetStringWidth (const wxString &s)
 Get the width of a string.
virtual bool LoadFontMetrics (wxXmlNode *root)
 Load the font metrics XML file.
virtual void UpdateUsedChars (const wxString &s)
 Update the list of used characters.
virtual bool SupportsSubset ()
 Check whether the font supports subsetting.
virtual int CreateSubset (wxInputStream *fontFile, wxOutputStream *fontSubset)
 Create a font subset.
virtual wxMBConv * GetEncodingConv ()
 Get the associated encoding converter.

Protected Attributes

wxMBConv * m_conv
 Assocated encoding converter.

Detailed Description

Class representing TrueType fonts. (For internal use only).


Constructor & Destructor Documentation

wxPdfFontTrueType::wxPdfFontTrueType ( int  index  ) 

< Constructor

wxPdfFontTrueType::~wxPdfFontTrueType (  )  [virtual]

Default destructor.


Member Function Documentation

double wxPdfFontTrueType::GetStringWidth ( const wxString &  s  )  [virtual]

Get the width of a string.

Reimplemented from wxPdfFont.

bool wxPdfFontTrueType::LoadFontMetrics ( wxXmlNode *  root  )  [virtual]

Load the font metrics XML file.

void wxPdfFontTrueType::UpdateUsedChars ( const wxString &  s  )  [virtual]

Update the list of used characters.

Reimplemented from wxPdfFont.

virtual bool wxPdfFontTrueType::SupportsSubset (  )  [inline, virtual]

Check whether the font supports subsetting.

Reimplemented from wxPdfFont.

int wxPdfFontTrueType::CreateSubset ( wxInputStream *  fontFile,
wxOutputStream *  fontSubset 
) [virtual]

Create a font subset.

Reimplemented from wxPdfFont.

virtual wxMBConv* wxPdfFontTrueType::GetEncodingConv (  )  [inline, virtual]

Get the associated encoding converter.

Reimplemented from wxPdfFont.


Member Data Documentation

wxMBConv* wxPdfFontTrueType::m_conv [protected]

Assocated encoding converter.


The documentation for this class was generated from the following files:
Generated on Fri Dec 15 21:30:38 2006 for wxPdfDocument by  doxygen 1.5.1-p1