wxPdfFontOpenTypeUnicode Class Reference

Class representing Unicode OpenType fonts. (For internal use only). More...

#include <pdffont.h>

Inheritance diagram for wxPdfFontOpenTypeUnicode:

wxPdfFont List of all members.

Public Member Functions

 wxPdfFontOpenTypeUnicode (int index)
 < Constructor
virtual ~wxPdfFontOpenTypeUnicode ()
 Default destructor.
virtual wxString GetWidthsAsString ()
 Get the character width array as string.
virtual double GetStringWidth (const wxString &s)
 Get the width of a string.
virtual wxString ConvertCID2GID (const wxString &s)
 Convert character codes to glyph numbers.
virtual bool LoadFontMetrics (wxXmlNode *root)
 Load the font metrics XML file.
virtual bool SupportsSubset ()
 Check whether the font supports subsetting.
virtual int CreateSubset (wxInputStream *fontFile, wxOutputStream *fontSubset)
 Create font subset.
virtual wxMBConv * GetEncodingConv ()
 Get the associated encoding converter.

Protected Attributes

wxMBConv * m_conv
 Assocated encoding converter.

Detailed Description

Class representing Unicode OpenType fonts. (For internal use only).


Constructor & Destructor Documentation

wxPdfFontOpenTypeUnicode::wxPdfFontOpenTypeUnicode ( int  index  ) 

< Constructor

wxPdfFontOpenTypeUnicode::~wxPdfFontOpenTypeUnicode (  )  [virtual]

Default destructor.


Member Function Documentation

wxString wxPdfFontOpenTypeUnicode::GetWidthsAsString (  )  [virtual]

Get the character width array as string.

Reimplemented from wxPdfFont.

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

Get the width of a string.

Reimplemented from wxPdfFont.

wxString wxPdfFontOpenTypeUnicode::ConvertCID2GID ( const wxString &  s  )  [virtual]

Convert character codes to glyph numbers.

Reimplemented from wxPdfFont.

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

Load the font metrics XML file.

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

Check whether the font supports subsetting.

Reimplemented from wxPdfFont.

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

Create font subset.

Reimplemented from wxPdfFont.

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

Get the associated encoding converter.

Reimplemented from wxPdfFont.


Member Data Documentation

wxMBConv* wxPdfFontOpenTypeUnicode::m_conv [protected]

Assocated encoding converter.


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