Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ font(3G) — GL2 W3.6

Media Vault

Software Library

Restoration Projects

Artifacts Sought

font(3G)  —  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: Short);

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

charstr, defrasterfont, getdescender, getfont, getheight, strwidth Programming Guide, Section 5.3, Fonts

Version 3.6  —  December 20, 1987

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