Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ glcnewfontfromfamily(3G) — IRIX 6.5.3f

Media Vault

Software Library

Restoration Projects

Artifacts Sought



glcNewFontFromFamily(3G)  OpenGL Character Renderer   glcNewFontFromFamily(3G)



NAME
     glcNewFontFromFamily - create a new font from a master of specified
     family


C SPECIFICATION
     GLint glcNewFontFromFamily( GLint inFont,
                                 const GLCchar *inFamily )


PARAMETERS
     inFont    Specifies the ID of the new font.

     inFamily  Specifies the font family, that is, the string that the
               GLCFAMILY attribute has to match.

DESCRIPTION
     glcNewFontFromFamily performs a sequential search beginning with the
     first element of the GLC master list, looking for the first master whose
     string attribute GLCFAMILY equals inFamily.

     If there is no such master, glcNewFontFromFamily returns zero. Otherwise,
     glcNewFontFromFamily creates a new font from the master.

     The ID of the new font is inFont. If inFont is already the ID of a font,
     glcNewFontFromFamily generates GLCPARAMETERERROR and returns zero.

     If the command succeeds, it returns inFont.

ERRORS
     GLCPARAMETERERROR is generated if inFont is already the ID of a font.

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

ASSOCIATED GETS
     glcGetListi with argument GLCFONTLIST
     glcGeti with argument GLCFONTCOUNT
     glcIsFont

SEE ALSO
     glcGenFontID, glcNewFontFromMaster, glcDeleteFont













                                                                        Page 1



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