Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ fontsize_te(3W) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

fontreplaceall(3W)

FONTSIZE_TERM0(3W)

Series 300 and 500 Only

NAME

fontsize_size0 − Term0 font size

SYNOPSIS

int fontsize_term0(fd,wptr,hptr);
int fd;
int *wptr,*hptr;

DESCRIPTION

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

wptr,hptr
the pixel width and height components of the fonts’ common cell size.

DISCUSSION

This routine sets the caller’s variables to the current cell size of the 1-byte characters, which is common to all fonts in the cache.  The 2-byte characters are twice as wide as the 1-byte characters.  This size is in units of "square pixels", common to all display hardware. 

HARDWARE DEPENDENCIES

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

SEE ALSO

fontreplaceall(3W). 

DIAGNOSTICS

A return of -1 indicates failure, see errno(2) for further information; otherwise, 0 is returned.  See errno(2) for more information.
 

Hewlett-Packard Company  —  May 11, 2021

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