font() — Silicon Graphics
NAME
font − selects a raster font for drawing text strings
SPECIFICATION
C
font(fntnum)
short fntnum;
FORTRAN
subroutine font(fntnum)
integer*4 fntnum
Pascal
procedure font(fntnum: longint);
DESCRIPTION
font selects the raster font that charstr uses when it draws a text string. fntnum is an index into the font table that defrasterfont builds. This font remains in effect until another font executes. Font 0 is the default.
If font specifies a font number that is not defined, the system selects font 0.
SEE ALSO
defrasterfont, getfont IRIS Graphics Programming, Section 5.3, Fonts
Version 2.5 — April 22, 1987