FM_FONTDIR(3W)
Series 300 and 500 Only
NAME
fm_fontdir − set character direction
SYNOPSIS
int fm_fontdir(gfd,direction);
int gfd, direction;
DESCRIPTION
gfd is an integer file descriptor for an gopened device interface.
direction
Direction for character printing, valid values are:
’u’-write characters upward
’d’-write characters downward
’l’-write characters to the left
’r’-write characters to the right
DISCUSSION
Sets the character printing direction as defined by direction. This write direction remains in effect until a different font is activated.
HARDWARE DEPENDENCIES
Series 500:
Font manager routines do not support HP-15 (2-byte) fonts on Series 500.
SEE ALSO
DIAGNOSTICS
Returns -1 if gfd is not valid or direction is out of range; otherwise, 0 is returned. See errno(2) for more information.
Hewlett-Packard Company — May 11, 2021