Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ text_font_i(3G) — HP-UX ANSI C A.10.11

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

<sb-font>/’chset name’/’font index’ (the actual path name of the directory given in angle brackets depends on the file system structure; see the Graphics Administration Guide for details). 

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:

<sb-font>/usascii.

Font 1 is a fixed-width font, while font 2 is a variable-width font. 

DEFAULTS

Font index = 1 (as set in /etc/opt/starbase/defaults). 

SEE ALSO

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

 

Hewlett-Packard Company  —  November 03, 1994

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