Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ text_font_i(3G) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

Tutorial

TEXT_FONT_INDEX(3G)

NAME

text_font_index − select the 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);

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETER

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphics device is opened. 
index
a 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 path name and the text font index name. Where the character set path name is the active character set directory. 
 
The predefined character sets and fonts are located at /usr/lib/starbase/stroke/’chset name’/’font index’.  Do a directory listing of 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/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 Programmer’s Tutorial,designate_character_set(3g). 

Hewlett-Packard Company  —  May 11, 2021

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