Member attributes: AspectRatio

This attribute configures the appearance of the font represented by a font resource member.

Syntax

floating‑point‑number

Discussion

The attribute AspectRatio determines the factor to stretch horizontally all glyph of the font specified in the attribute FontName of a font resource member. The attribute is expressed as a floating-point number lying in the range 0.25 .. 4.0 with the value 1.0 meaning, that no distortion is applied on the font glyphs. Following image demonstrates the resulting effect:

Modify the attribute

To inspect or modify the value of a AspectRatio attribute, select first the affected font resource member. Thereupon, the attribute is listed in the middle area of Inspector:

Localization

The attribute AspectRatio can be localized allowing the creation of font resource members optimized to display multilingual text. For this purpose expand the attribute by clicking on the small triangle left to the attribute. All available language specific values are listed thereupon below the attribute and can be modified individually:

If you haven't specified any particular language specific value for the attribute, the value from the fallback language Default is used automatically. Once localized values can be removed easily by pressing the keys CtrlR when the affected value is selected.