Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcfontface(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glcFontFace(3G)           OpenGL Character Renderer            glcFontFace(3G)



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
     GLCFACELIST, the command leaves the font's current face unchanged and
     returns GLFALSE. If the command succeeds, it returns GLTRUE.

     If inFont is zero, glcFontFace iterates through the list
     GLCCURRENTFONTLIST and attempts to set the current face to inFace for
     each font. In this case, glcFontFace returns GLTRUE if and only if
     GLCCURRENTFONTLIST contains one or more elements and the command
     successfully sets the current face of each font in the list.

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

     GLCPARAMETERERROR is generated if inFont is not the ID of a font.

ASSOCIATED GETS
     glcGetFontFace















                                                                        Page 1



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