Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fm_styleinf(3W) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fm_rasterinfo(3W)

,fm_load(3W)

FM_STYLEINFO(3W)

Series 300 and 500 Only

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. 

HARDWARE DEPENDENCIES

Series 500:
Font manager routines do not support HP-15 (2-byte) fonts on Series 500.

SEE ALSO

fm_rasterinfo(3W),fm_load(3W). 

DIAGNOSTICS

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

Hewlett-Packard Company  —  May 11, 2021

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