DESIGNATE_CHARACTER_SET(3G)
NAME
designate_character_set − associate a G-set with a character set.
SYNOPSIS
C SYNTAX
void designate_character_set(fildes,chset,gset);
int fildes,gset;
char *chset;
FORTRAN77 SYNTAX
subroutine designate_character_set(fildes,chset,gset)
integer*4 fildes,gset
character*(*) chset
PASCAL SYNTAX
procedure designate_character_set(fildes:integer;
chset:string255;gset:integer);
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: ANSI Computer Graphics Interface
DESCRIPTION
INPUT PARAMETERS
fildes
is an integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
chset
is the name of a character set’s directory.
gset
selects one of the four G-sets (0 - 3).
DISCUSSION
Designate_character_set pre-concatenates the string ’/usr/lib/starbase/stroke’ with the character set directory name specified by the chset parameter. The resulting path name is used to identify the character set to be associated with the G-set specified by the gset parameter. The actual path name for the font to be used is the concatenation of the character set path name and the font index. The font index is specified by the text_font_index procedure. This implies that the character set path name is a directory.
The following character sets are supported as a part of this product:
*chset name path name
usascii USASCII /usr/lib/starbase/stroke/usascii
jisascii JISASCII /usr/lib/starbase/stroke/jisascii
katakana KATAKANA /usr/lib/starbase/stroke/katakana
hproman HP ROMAN /usr/lib/starbase/stroke/hproman
DEFAULTS
G0, G2 USASCII (as set in /usr/lib/starbase/defaults).
G1, G3 HP ROMAN (as set in /usr/lib/starbase/defaults).
SEE ALSO
Starbase Programmer’s Tutorial,text_font_index(3g).
Hewlett-Packard Company — May 11, 2021