GLXUSEXFONT - Online Linux Manual Page
NAMEglXUseXFont − create bitmap display lists from an X font

C SPECIFICATIONvoid glXUseXFont( Font font, int first, int count, int listBase )

PARAMETERSfont  Specifies the font from which character glyphs are to be taken. first  Specifies the index of the first glyph to be taken. count  Specifies the number of glyphs to be taken. listBase  Specifies the index of the first display list to be generated.

DESCRIPTIONglXUseXFont generates count display lists, named listBase through listBase​+​count​−​1, each containing a single glBitmap command. The parameters of the glBitmap command of display list listBase​+i are derived from glyph first​+i. Bitmap parameters xorig, yorig, width, and height are computed from font metrics as descent−1, −lbearing, rbearing−lbearing, and ascent+descent, respectively. xmove is taken from the glyph's width metric, and ymove is set to zero. Finally, the glyph's image is converted to the appropriate format for glBitmap. Using glXUseXFont may be more efficient than accessing the X font and generating the display lists explicitly, both because the display lists are created on the server without requiring a round trip of the glyph data, and because the server may choose to delay the creation of each bitmap until it is accessed. Empty display lists are created for all glyphs that are requested and are not defined in font. glXUseXFont is ignored if there is no current GLX context.

ERRORSBadFont is generated if font is not a valid font. GLXBadContextState is generated if the current GLX context is in display-list construction mode. GLXBadCurrentWindow is generated if the drawable associated with the current context of the calling thread is a window, and that window is no longer valid.

SEE ALSOglBitmap, glXMakeCurrent
0
Johanes Gumabo
Data Size   :   8,045 byte
man-g___lXUseXFont.3GBuild   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 166,009
Visitor ID   :     :  
Visitor IP   :   18.222.184.207   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.