glcFontMap(3G) OpenGL Character Renderer glcFontMap(3G)
glcFontMap - modify the map of a font
void glcFontMap( GLint inFont,
GLint inCode,
const GLCchar *inCharName )
inFont Specifies the ID of a font.
inCode Specifies the integer ID of a character.
inCharName Specifies the string name of a character.
glcFontMap modifies the map of the font identified by inFont so that the
font maps inCode to the character specified by the string inCharName. If
inCharName is GLC_NONE, _param is removed from the font's map.
Every font has an associated font map. A font map is a table of entries
that map integer values to the the name string that identifies the
character.
Every character code used in GLC is an element of the Universal
Multiple-Octet Coded Character Set (UCS) defined by the standards ISO/IEC
10646-1:1993 and Unicode 2.0 (unless otherwise specified). A UCS code is
denoted as U+hexcode, where hexcode is a sequence of hexadecimal digits.
Each UCS code corresponds to a character that has a unique name string.
For example, the code U+41 corresponds to the character LATIN CAPITAL
LETTER A.
GLC_PARAMETER_ERROR is generated if inCode is not the ID of a font.
GLC_PARAMETER_ERROR is generated if inCharName is not GLC_NONE or an
element of the font's string list attribute GLC_GLC_CHAR_LIST.
GLC_STATE_ERROR is generated if the issuing thread has no current GLC
context.
glcGetFontMap
PPPPaaaaggggeeee 1111 [ Back ]
|