Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fm_activate(3G) — HP-UX ANSI C A.10.11

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_load(3G)

fm_write(3G)

fm_activate(3G)

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

fm_load(3G), fm_write(3G). 

DIAGNOSTICS

A −1 is returned if gfd or fontid is not valid; otherwise, 0 is returned.  See errno(2) in HP-UX Reference for further information. 

Hewlett-Packard Company  —  HP-UX Release 10.0

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