Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ character_e(3G) — HP-UX 6.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

character_width(3G)

character_height(3G)

intra_character_space(3G)

CHARACTER_EXPANSION_FACTOR(3G)

NAME

character_expansion_factor − set character cell height-to-width ratio. 

SYNOPSIS

C Syntax:

void character_expansion_factor(fildes,factor);
int fildes;
float factor;

FORTRAN77 Syntax:

subroutine character_expansion_factor(fildes,factor)
integer*4 fildes
real factor

Pascal Syntax:

procedure character_expansion_factor(fildes:integer;factor:real);

DESCRIPTION

Input Parameters

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

factor Deviation factor from the width/height ratio specified with each font. 

Discussion

Character_expansion_factor (relative character width) sets the character cell width to

(factor)*(character height)*(font width/height ratio)

The character_width and character_expansion_factor procedures both modify the width of a character.  The procedure most recently executed defines the character width for subsequently drawn characters. 

DEFAULTS

Factor = 1.0. 

SEE ALSO

character_width(3G), character_height(3G), intra_character_space(3G), Starbase Graphics Techniques. 

Hewlett-Packard Company  —  May 11, 2021

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