Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fontload_term0(3W)

fontgetid_term0(3W)

altfont_term0(3W)

fontswap_term0(3W)

fontreplaceall(3W)

BASEFONT_TERM0(3W)

NAME

basefont_term0 − set or inquire the Term0 base font

SYNOPSIS

int basefont_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 base font, or requests inquiry. 

DISCUSSION

This routine has two distinct uses.  If id has a value of -1, the font id of the current base font is returned.  If id is not -1, this routine attempts to make the font specified by id become the new base font.  The screen is not repainted.  Only future use of the base font is affected by this routine (i.e., changing the base font is not retroactive). 

HARDWARE DEPENDENCIES

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

SEE ALSO

fontload_term0(3W), fontgetid_term0(3W), altfont_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 base font is returned for successful selection. 

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

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