This function will create count OpenGL display lists containing bitmaps of the named logical character set identifier (llcid) specified. An OS/2 logical font should be created by the user using the specified hps, llcid, and fattrs before calling pglUseFont. Each bitmap will consist of a single glBitmap command. These display lists will be numbered listbase, through listbase + count -1. The parameters to glBitmap for display list listbase +i are derived from bitmap first +i in the logical font. OpenGL might delay glBitmap creation until a font glyph is accessed.

#include <pgl.h>

HAB       hab;
HPS       hps;
FATTRS    fattrs;
LONG      llcid;
int       first;
int       count;
int       listbase;
BOOL      rc;

rc = pglUseFont(hab, hps, fattrs, llcid, first,
       count, listbase);


[Back: pglUseFont]
[Next: pglUseFont Parameter - hab]