font(3G) font(3G)
NAME
font - selects a raster font for drawing text strings
C SPECIFICATION
void font(fntnum)
short fntnum;
PARAMETERS
fntnum expects the font identifier, an index into the font table built
by defrasterfont. If you specify a font number that is not
defined, the system selects font 0.
DESCRIPTION
font selects the raster font that charstr uses when it draws a text
string. This font remains in effect until you call font again. Font 0 is
the default.
SEE ALSO
charstr, deflfont, defrasterfont, getdescender, getfont, getheight,
strwidth
Page 1