fm_activate(3w)
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. All alpha output done by fm_write after this point will use this font.
fm_load activates its font, so calling fm_activate is often not needed.
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 — HP-UX Release 9.03: April 1994