2.419 .width[enum]

This attribute can be used to define correction factors for calculating the grid width from the font.

Definition

  • Data type

    integer

  • Access

    get, set

  • changed event

    no

Index Range

scale_factor

With this index value, the attribute defines a percentage, which is multiplied with the base value as a scaling factor.

The base value is the character width of the character set determined from the font metric or the reference string.

scale_offset

With this index value, the attribute defines a pixel value that is added as a constant to the scaled base value.

See also

Attributes .height[enum], .refstring, .real_xraster, .xraster

Chapter “Calculating the Grid Size from a Reference Font” in manual “Resource Reference”