CHARACTER_WIDTH(3G)
NAME
character_width − specify character width.
SYNOPSIS
C SYNTAX
void character_width(fildes,width);
int fildes;
float width;
void dccharacter_width(fildes,dcwidth);
int fildes,dcwidth;
FORTRAN77 SYNTAX
subroutine character_width(fildes,width)
integer*4 fildes
real width
subroutine dccharacter_width(fildes,dcwidth)
integer*4 fildes,dcwidth
PASCAL SYNTAX
procedure character_width(fildes:integer;width:real);
procedure dccharacter_width(fildes,dcwidth:integer);
HP-UX COMPATIBILITY
Level: HP-UX/STANDARD
Origin: HP
DESCRIPTION
INPUT PARAMETERS
fildes
is an integer file descriptor returned by gopen when an I/O path to a graphics device is opened.
width
is the width of a text character measured in Virtual Device Coordinates along the baseline.
dcwidth
is the width of a text character measured in Device Coordinates along the baseline.
DISCUSSION
Character_width specifies the width of subsequently drawn characters. The character_expansion_factor procedure and the character_width procedure both modify the width of a character. The procedure most recently executed defines the character width for subsequently drawn characters.
Character width values are independent of character height values.
Beware: if vdc_extent is changed then the character width is recomputed using the new VDC extent and the last character width set or to the default (0.02) if no previous calls to character_width were made.
DEFAULTS
None, character width is defined by the default character expansion factor of 1.0.
SEE ALSO
character_expansion_factor(3g), character_height(3g), vdc_extent(3g).
Hewlett-Packard Company — May 11, 2021