fm_styleinfo(3w)
NAME
fm_styleinto − return style information about a font
SYNOPSIS
#include <fonticon.h>
int fm_styleinfo(gfd,fontid,symbol_char,escapecodes);
int gfd;
int fontid;
char *symbol_char;
struct escapecodes *escapecodes;
DESCRIPTION
gfd is an integer file descriptor for an gopened device interface.
fontid is the font id as returned by fm_load.
symbol_char character describing font (e.g. ’U’).
escapecodes is a structure containing font information, see /usr/include/fonticon.h.
DISCUSSION
A font is sometimes designated by the (symbol_int, symbol_char) pair, especially in escape sequences (see also term0 documentation). For example, 8U is an eight-bit Roman font, 0L is a line drawing font, 0M is a math symbol font, etc.
SEE ALSO
fm_rasterinfo(3w),fm_load(3w).
DIAGNOSTICS
A −1 is returned if fontid or gfd is not valid; otherwise, 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — HP-UX Release 9.10: April 1995