wxPdfFontType0 Class Reference

Class representing Type 0 fonts. (For internal use only). More...

#include <pdffont.h>

Inheritance diagram for wxPdfFontType0:

wxPdfFont List of all members.

Public Member Functions

 wxPdfFontType0 (int index)
 < Constructor
virtual ~wxPdfFontType0 ()
 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 bool LoadFontMetrics (wxXmlNode *root)
 Load the font metrics XML file.
virtual int CreateSubset (wxInputStream *fontFile, wxOutputStream *fontSubset)
 Create font subset.
virtual wxMBConv * GetEncodingConv ()
 Get the associated encoding converter.

Protected Member Functions

bool HasHalfWidthRange ()
wxChar HalfWidthRangeFirst ()
wxChar HalfWidthRangeLast ()

Protected Attributes

bool m_hwRange
 Flag whether the font has a half width range.
wxChar m_hwFirst
 CID of the first half width character.
wxChar m_hwLast
 CID of the last half width character.
wxMBConv * m_conv
 Assocated encoding converter.

Detailed Description

Class representing Type 0 fonts. (For internal use only).


Constructor & Destructor Documentation

wxPdfFontType0::wxPdfFontType0 ( int  index  ) 

< Constructor

wxPdfFontType0::~wxPdfFontType0 (  )  [virtual]

Default destructor.


Member Function Documentation

wxString wxPdfFontType0::GetWidthsAsString (  )  [virtual]

Get the character width array as string.

Reimplemented from wxPdfFont.

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

Get the width of a string.

Reimplemented from wxPdfFont.

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

Load the font metrics XML file.

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

Create font subset.

Reimplemented from wxPdfFont.

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

Get the associated encoding converter.

Reimplemented from wxPdfFont.

bool wxPdfFontType0::HasHalfWidthRange (  )  [inline, protected]

wxChar wxPdfFontType0::HalfWidthRangeFirst (  )  [inline, protected]

wxChar wxPdfFontType0::HalfWidthRangeLast (  )  [inline, protected]


Member Data Documentation

bool wxPdfFontType0::m_hwRange [protected]

Flag whether the font has a half width range.

wxChar wxPdfFontType0::m_hwFirst [protected]

CID of the first half width character.

wxChar wxPdfFontType0::m_hwLast [protected]

CID of the last half width character.

wxMBConv* wxPdfFontType0::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