Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ designate_c(3G) — HP-UX 5.50

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

text_font_index(3G)

text_switching_mode(3G)

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

DESCRIPTION

Input Parameters

fildes Integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 

chset Name of a character set’s  directory. 

gset Selects one of the four G-sets (0 - 3). 

Discussion

Designate_character_set inserts the string ’/usr/lib/starbase/stroke’ in front of 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 by Starbase:

chset Name Pathname
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

When the text switching mode is HP_8BIT, only G0 and G1 can be set. 

DEFAULTS

G0, G2 USASCII (as set in /usr/lib/starbase/defaults).
G1, G3 HP ROMAN (as set in /usr/lib/starbase/defaults).

SEE ALSO

text_font_index(3G), text_switching_mode(3G),
Starbase Graphics Techniques.

Hewlett-Packard Company  —  May 11, 2021

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