Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcfontmap(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glcFontMap(3G)            OpenGL Character Renderer             glcFontMap(3G)



NAME
     glcFontMap - modify the map of a font


C SPECIFICATION
     void glcFontMap( GLint inFont,
                      GLint inCode,
                      const GLCchar *inCharName )


PARAMETERS
     inFont      Specifies the ID of a font.

     inCode      Specifies the integer ID of a character.

     inCharName  Specifies the string name of a character.


DESCRIPTION
     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 GLCNONE, _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.

ERRORS
     GLCPARAMETERERROR is generated if inCode is not the ID of a font.

     GLCPARAMETERERROR is generated if inCharName is not GLCNONE or an
     element of the font's string list attribute GLCGLCCHARLIST.

     GLCSTATEERROR is generated if the issuing thread has no current GLC
     context.

ASSOCIATED GETS
     glcGetFontMap









                                                                        Page 1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026