Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ altfont_ter(3W) — HP-UX 9.00

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fontgetid_term0(3W)

,fontload_term0(3W)

,basefont_term0(3W)

,fontswap_term0(3W)

fontreplaceall(3W)

ALTFONT_TERM0(3W)

NAME

altfont_term0 − set or inquire the Term0 alternate font

SYNOPSIS

int altfont_term0(fd,id);
int fd;
int id;

DESCRIPTION

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

id identifies the font which shall become the alternate font, or requests inquiry. 

DISCUSSION

This routine has two distinct uses.  If id has a value of -1, the font id of the current alternate font is returned.  If id is not -1, this routine attempts to make the font specified by id become the new alternate font.  HP-15 (2-byte) fonts cannot be used as the alternate font; attempting to do so will result in an error. 

The screen is not repainted when this routine is used.  Only future use of the alternate font is affected by this routine (i.e., changing the alternate font is not retroactive). 

HARDWARE DEPENDENCIES

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

SEE ALSO

fontgetid_term0(3W),fontload_term0(3W),basefont_term0(3W),fontswap_term0(3W), fontreplaceall(3W). 

DIAGNOSTICS

A return value of -1 indicates failure.  Otherwise, the font id is returned for successful inquiry, or the font id of the new alternate font is returned for successful selection. 

Hewlett-Packard Company  —  HP-UX Release 8.0: January 1991

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