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
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