#include <FTCharmap.h>
Public Member Functions | |
FTCharmap (FTFace *face) | |
Constructor. | |
virtual | ~FTCharmap () |
Destructor. | |
FT_Encoding | Encoding () const |
Queries for the current character map code. | |
bool | CharMap (FT_Encoding encoding) |
Sets the character map for the face. | |
unsigned int | GlyphListIndex (const unsigned int characterCode) |
Get the FTGlyphContainer index of the input character. | |
unsigned int | FontIndex (const unsigned int characterCode) |
Get the font glyph index of the input character. | |
void | InsertIndex (const unsigned int characterCode, const unsigned int containerIndex) |
Set the FTGlyphContainer index of the character code. | |
FT_Error | Error () const |
Queries for errors. |
|
Constructor.
Definition at line 5 of file FTCharmap.cpp. |
|
Destructor.
Definition at line 18 of file FTCharmap.cpp. References FTCharToGlyphIndexMap::clear(). |
|
Sets the character map for the face. Valid encodings as at Freetype 2.0.4 ft_encoding_none ft_encoding_symbol ft_encoding_unicode ft_encoding_latin_2 ft_encoding_sjis ft_encoding_gb2312 ft_encoding_big5 ft_encoding_wansung ft_encoding_johab ft_encoding_adobe_standard ft_encoding_adobe_expert ft_encoding_adobe_custom ft_encoding_apple_roman
Definition at line 24 of file FTCharmap.cpp. References FTCharToGlyphIndexMap::clear(). Referenced by FTGlyphContainer::CharMap(). |
|
Queries for the current character map code.
Definition at line 47 of file FTCharmap.h. |
|
Queries for errors.
Definition at line 107 of file FTCharmap.h. Referenced by FTGlyphContainer::CharMap(). |
|
Get the font glyph index of the input character.
Definition at line 53 of file FTCharmap.cpp. Referenced by FTGlyphContainer::Advance(), FTGlyphContainer::FontIndex(), and FTGlyphContainer::Render(). |
|
Get the FTGlyphContainer index of the input character.
Definition at line 47 of file FTCharmap.cpp. References FTCharToGlyphIndexMap::find(). Referenced by FTGlyphContainer::Advance(), FTGlyphContainer::BBox(), FTGlyphContainer::Glyph(), and FTGlyphContainer::Render(). |
|
Set the FTGlyphContainer index of the character code.
Definition at line 59 of file FTCharmap.cpp. References FTCharToGlyphIndexMap::insert(). Referenced by FTGlyphContainer::Add(). |