Class representing a font encoding.
More...
#include <pdfencoding.h>
|
| static bool | GlyphName2Unicode (const wxString &glyphName, wxUint32 &unicode) |
| | Convert a glyph name to a unicode character.
|
| |
| static bool | Unicode2GlyphName (wxUint32 unicode, wxString &glyphName) |
| | Convert a unicode character to a glyph name.
|
| |
| static wxArrayString | GetKnownEncodings () |
| | Get a list of known encodings.
|
| |
Class representing a font encoding.
◆ wxPdfEncoding() [1/2]
| wxPdfEncoding::wxPdfEncoding |
( |
| ) |
|
◆ ~wxPdfEncoding()
| virtual wxPdfEncoding::~wxPdfEncoding |
( |
| ) |
|
|
virtual |
◆ wxPdfEncoding() [2/2]
◆ CreateEncodingConvMap()
| void wxPdfEncoding::CreateEncodingConvMap |
( |
| ) |
|
|
protected |
Create the encoding conversion map for user defined encodings.
◆ GetBaseEncodingName()
| wxString wxPdfEncoding::GetBaseEncodingName |
( |
| ) |
const |
Get the name of the base encoding.
- Returns
- the name of the base encoding
◆ GetCMap()
| wxPdfArrayUint32 wxPdfEncoding::GetCMap |
( |
| ) |
const |
Get the character map of the encoding.
- Returns
- the character map
◆ GetDifferences()
| wxString wxPdfEncoding::GetDifferences |
( |
| ) |
const |
Get the differences between the encoding and the associated base encoding.
- Returns
- the difference string
◆ GetEncodingMap()
| const wxPdfChar2GlyphMap * wxPdfEncoding::GetEncodingMap |
( |
| ) |
const |
Get the encoding map.
- Returns
- the encoding map
◆ GetEncodingName()
| wxString wxPdfEncoding::GetEncodingName |
( |
| ) |
const |
Get the name of the encoding.
- Returns
- the name of the encoding
◆ GetGlyphNames()
| wxArrayString wxPdfEncoding::GetGlyphNames |
( |
| ) |
const |
Get the list of glyph names supported by the encoding.
- Returns
- a list of glyph names
◆ GetKnownEncodings()
| static wxArrayString wxPdfEncoding::GetKnownEncodings |
( |
| ) |
|
|
static |
Get a list of known encodings.
- Returns
- an array containing all known encodings
◆ GlyphName2Unicode()
| static bool wxPdfEncoding::GlyphName2Unicode |
( |
const wxString & | glyphName, |
|
|
wxUint32 & | unicode ) |
|
static |
Convert a glyph name to a unicode character.
- Parameters
-
| [in] | glyphName | name of the glyph |
| [out] | unicode | unicode character of the glyph |
- Returns
- TRUE if the conversion was successful, FALSE otherwise
◆ InitializeEncodingMap()
| void wxPdfEncoding::InitializeEncodingMap |
( |
| ) |
|
Initialize the encoding map.
◆ IsOk()
| bool wxPdfEncoding::IsOk |
( |
| ) |
const |
Check whether the encoding is valid.
- Returns
- TRUE if the encoding is valid, FALSE otherwise
◆ operator=()
◆ SetEncoding()
| bool wxPdfEncoding::SetEncoding |
( |
const wxString & | encoding | ) |
|
Set the encoding.
- Parameters
-
| encoding | the encoding that should be set |
◆ Unicode2GlyphName()
| static bool wxPdfEncoding::Unicode2GlyphName |
( |
wxUint32 | unicode, |
|
|
wxString & | glyphName ) |
|
static |
Convert a unicode character to a glyph name.
- Parameters
-
| [in] | unicode | unicode character of the glyph |
| [out] | glyphName | name of the glyph |
- Returns
- TRUE if the conversion was successful, FALSE otherwise
The documentation for this class was generated from the following file: