glcFontFace(3G)

glcFontFace - set the face of a font or of all current fonts

As shipped in IRIX 6.5.5. Unchanged since IRIX 6.5.

NAME
     glcFontFace - set the face of a font or of all current fonts


C SPECIFICATION
     GLboolean glcFontFace( GLint inFont,
                            const GLCchar *inFace )


PARAMETERS
     inFont  Specifies the ID of the font to be changed.

     inFace  Specifies the face for inFont.


DESCRIPTION
     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.

ERRORS
     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.

ASSOCIATED GETS
     glcGetFontFace