12 #include <unordered_map>
28 unsigned int encoding()
const;
31 bool setEncoding(
unsigned int encoding);
35 unsigned int indexOfGlyph(
const unsigned int characterCode)
const;
39 unsigned int indexInFont(
unsigned int characterCode)
const;
42 void setGlyphIndex(
const unsigned int characterCode,
const size_t glyphIndex);
46 typedef std::unordered_map<unsigned int, unsigned int>
CharacterMap;
52 static const unsigned int TheCacheSize = 128;
53 unsigned int myIndexCache[TheCacheSize];
A class which encapsulates a free type face object.
Definition: DtFreeTypeFace.h:23
unsigned int myEncoding
Definition: DtCharacterEncodingMap.h:51
DtFreeTypeFace * myFace
Definition: DtCharacterEncodingMap.h:48
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
std::unordered_map< unsigned int, unsigned int > CharacterMap
Definition: DtCharacterEncodingMap.h:46
The character encoding map, maps the character code to a glyph index.
Definition: DtCharacterEncodingMap.h:20
CharacterMap myGlyphMap
Definition: DtCharacterEncodingMap.h:49