Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

designate_character_set(3G)

text(3G)

text_font_index(3G)

NAME

text_font_index − select character font for subsequent text primitives

SYNOPSIS

C Syntax:

void text_font_index(fildes,index);
int fildes,index;

FORTRAN77 Syntax:

subroutine text_font_index(fildes,index)
integer*4 fildes,index

Pascal Syntax:

procedure text_font_index(fildes,index:integer);

DESCRIPTION

INPUT PARAMETER

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

index Font file designation to be appended to the character-set path name. 

Discussion

Text_font_index selects a font for the currently designated character set.  The font is at the concatenation of the character-set pathname and the text-font index name, where the character-set pathname is the active character-set directory. 

Predefined character sets and fonts are located at

/usr/lib/starbase/stroke/’chset name’/’font index’

Use ls (1) on the appropriate directory to see what fonts are available.  For example, to see what fonts are available for the character set usascii do an ls of the directory: /usr/lib/starbase/stroke/usascii. Font 1 is a fixed-width font, while font 2 is a variable-width font.

DEFAULTS

Font index = 1 (as set in /usr/lib/starbase/defaults).

SEE ALSO

Starbase Reference: designate_character_set(3G), text(3G). 
Starbase Graphics Techniques. 

 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

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