getfont(3G)

getfont - returns the current raster font number

As shipped in IRIX 6.5.15. Unchanged since IRIX 6.5.

NAME
     getfont - returns the current raster font number

C SPECIFICATION
     long getfont()

PARAMETERS
     none

FUNCTION RETURN VALUE
     The returned value for this function is the index into the font table for
     the current raster font.

DESCRIPTION
     getfont returns the index of the current raster font.

SEE ALSO
     defrasterfont, font

NOTE
     This routine is available only in immediate mode.

BUGS
     getfont should return a short.  Other font routines accept shorts as the
     font index parameter.