Element: textstyle.ratio

Type

numeric

Description

The character aspect ratio associated with textstyle. This is multiplied by the text height, determined at display time, to produce the character width. If not defined, a value of 1 is used, i.e. square characters.

Textstyles for fixed system fonts have a default ratio supplied by the operating system. This attribute can only be changed for system fonts of variable dimensions (see font.variable).