12 #include <unordered_map>
35 unsigned int encoding()
const;
38 bool setEncoding(
unsigned int encoding);
43 size_t containerIndexOfGlyph(
const unsigned int characterCode)
const;
44 size_t containerIndexFromIndexOfGlyph(
const unsigned int glyphIndex )
const;
49 unsigned int indexInFont(
unsigned int characterCode)
const;
52 void setGlyphIndex(
const unsigned int characterCode,
const size_t containerIndex,
unsigned int glyphIndex );
63 static const unsigned int TheCacheSize = 128;
64 unsigned int myIndexCache[TheCacheSize];
A class which encapsulates a free type face object.
Definition: DtFreeTypeFace.h:23
GlyphIndexToContainerIndexMap myIndexMap
Definition: DtCharacterEncodingMap.h:59
unsigned int myEncoding
Definition: DtCharacterEncodingMap.h:62
CharacterCodeToContainerIndexMap myGlyphMap
Definition: DtCharacterEncodingMap.h:58
DtFreeTypeFace * myFace
Definition: DtCharacterEncodingMap.h:60
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition: vrvGraphics.h:19
std::unordered_map< unsigned int, size_t > CharacterCodeToContainerIndexMap
Definition: DtCharacterEncodingMap.h:56
std::unordered_map< unsigned int, size_t > GlyphIndexToContainerIndexMap
Definition: DtCharacterEncodingMap.h:57
The character encoding map, maps the character code to a glyph index. Note there are two glyph indexe...
Definition: DtCharacterEncodingMap.h:27