defobjfont(3) — Unix Programmer’s Manual
NAME
defobjfont - define an object font
SYNOPSIS
C
defobjfont(n, nc, chars)
short n, nc;
Object chars[];
FORTRAN
subroutine defobj(n, nc, chars)
integer∗2 n,nc
integer chars(nc)
Pascal
procedure defobjfont(n, nc: Short; var chars: Objarray);
DESCRIPTION
Defobjfont defines an object font. Its first argument is an index into the object font table. This index will be used as the name of the font in later references. Chars is an array of nc object names, one for each character in the font. Spacing is the responsibility of the individual characters in the object font. Each character definition should end by translating to the baseline position of the next character where the next character’s origin should be placed. To replace an object font, define the new one to have the same index as the old one.
To delete an object font, call defobjfont(n, 0, 0), that is, define a font with no characters.
SEE ALSO
defrasterfont, objfont, objstr
NOTE
This command can only be used in immediate mode.
Silicon Graphics — R1c