#include <pdffont.h>
Inheritance diagram for wxPdfFontTrueType:
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. |
wxPdfFontTrueType::wxPdfFontTrueType | ( | int | index | ) |
< Constructor
wxPdfFontTrueType::~wxPdfFontTrueType | ( | ) | [virtual] |
Default destructor.
double wxPdfFontTrueType::GetStringWidth | ( | const wxString & | s | ) | [virtual] |
bool wxPdfFontTrueType::LoadFontMetrics | ( | wxXmlNode * | root | ) | [virtual] |
Load the font metrics XML file.
void wxPdfFontTrueType::UpdateUsedChars | ( | const wxString & | s | ) | [virtual] |
virtual bool wxPdfFontTrueType::SupportsSubset | ( | ) | [inline, virtual] |
int wxPdfFontTrueType::CreateSubset | ( | wxInputStream * | fontFile, | |
wxOutputStream * | fontSubset | |||
) | [virtual] |
virtual wxMBConv* wxPdfFontTrueType::GetEncodingConv | ( | ) | [inline, virtual] |
wxMBConv* wxPdfFontTrueType::m_conv [protected] |
Assocated encoding converter.