FM_ACTIVATE(3W)
Series 300 and 500 Only
NAME
fm_activate − make a font active
SYNOPSIS
int fm_activate(gfd,fontid);
int gfd, fontid;
DESCRIPTION
gfd is an integer file descriptor for an gopened device interface.
fontid
is the id of the font to activate.
DISCUSSION
Sets the specified raster font as the currently active font for the gopened device, which means all alpha output done by fm_write after this point will use this font.
Note that fm_load activates its font, so calling fm_activate is often not needed.
HARDWARE DEPENDENCIES
Series 500:
Font manager routines do not support HP-15 (2-byte) fonts on Series 500.
SEE ALSO
DIAGNOSTICS
A -1 is returned if gfd or fontid is not valid; otherwise 0 is returned. See errno(2) for further information.
Hewlett-Packard Company — May 11, 2021