glcFontFace(3G) OpenGL Character Renderer glcFontFace(3G)
glcFontFace - set the face of a font or of all current fonts
GLboolean glcFontFace( GLint inFont,
const GLCchar *inFace )
inFont Specifies the ID of the font to be changed.
inFace Specifies the face for inFont.
glcFontFace attempts to set the current face of the font identified by
inFont to the face identified by the string inFace. Examples for font
faces are strings like "Normal", "Bold", or "Bold Italic". In contrast to
some systems that have a different font for each face, GLC allows you to
have the face be an attribute of the font.
If inFace is not an element of the font's string list attribute
GLC_FACE_LIST, the command leaves the font's current face unchanged and
returns GL_FALSE. If the command succeeds, it returns GL_TRUE.
If inFont is zero, glcFontFace iterates through the list
GLC_CURRENT_FONT_LIST and attempts to set the current face to inFace for
each font. In this case, glcFontFace returns GL_TRUE if and only if
GLC_CURRENT_FONT_LIST contains one or more elements and the command
successfully sets the current face of each font in the list.
GLC_STATE_ERROR is generated if the issuing thread has no current GLC
context.
GLC_PARAMETER_ERROR is generated if inFont is not the ID of a font.
glcGetFontFace
PPPPaaaaggggeeee 1111 [ Back ]
|