Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

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

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_rasterinfo(3G)

fm_load(3G)

fm_styleinfo(3G)

NAME

fm_styleinfo − 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 <sb-include>/fonticon.h (the actual path name of the directory given in angle brackets depends on the file system structure; see the Graphics Administration Guide for details). 

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(3G), fm_load(3G). 

DIAGNOSTICS

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

Hewlett-Packard Company  —  HP-UX Release 10.0

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