Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ font(3g) — GL2 W2.5r1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

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.5r1  —  October 29, 1986

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