Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fontgetid_t(3W) — HP-UX 6.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fontgetname(3W)

,fontsize_term0(3W)

FONTGETID_TERM0(3W)

Series 300 and 500 Only

NAME

fontgetid_term0 − inquire the ID of a Term0 font

SYNOPSIS

int fontgetid_term0(fd,fontpath);
int fd;
char *fontpath;

DESCRIPTION

fd is an integer file descriptor for an opened Term0 window type device interface. 

fontpath
a pointer to a path name for the font in question.

DISCUSSION

This routine returns the font id of the named font, if it is currently loaded.  If the font is loaded more than once, the minimum font id which describes the font is returned.  This routine is intended to support programs wishing to prevent multiple instances of the same font in Term0’s cache.  The values returned for id have no meaning as fast alpha or font manager font ids. 

HARDWARE DEPENDENCIES

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

SEE ALSO

fontgetname(3W),fontsize_term0(3W). 

DIAGNOSTICS

A return of -1 indicates and error; otherwise the font id is returned.  Possible errors can occur if the requested font is not present in Term0’s cache.  See errno(2) for more information.
 

Hewlett-Packard Company  —  May 11, 2021

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