Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ character_e(3G) — HP-UX 5.00

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

HP-UX COMPATIBILITY

Level: HP-UX/STANDARD

Origin: ANSI Computer Graphics Interface

DESCRIPTION

INPUT PARAMETERS

fildes
is an integer file descriptor returned by gopen when an I/O path to a graphic device is opened. 
factor
is a deviation factor from the width/height ratio specified with each font.

DISCUSSION

Character_expansion_factor sets the character cell width to (factor)*(character height)*(font width/height ratio).  The character_width procedure and the character_expansion_factor procedure both modify the width of a character.  The procedure most recently executed defines the character width for subsequently drawn characters. 

DEFAULTS

A factor of 1.0. 

SEE ALSO

Starbase Programmer’s Tutorial, character_width(3g), character_height(3g), intra_character_space(3g). 

Hewlett-Packard  —  last mod. May 11, 2021

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