FontFeature.proportionalFigures constructor

const FontFeature.proportionalFigures()

Use proportional (varying width) figures.

For fonts that have both proportional and tabular (monospace) figures, this enables the proportional figures.

This is mutually exclusive with FontFeature.tabularFigures.

The default behavior varies from font to font.

See also:

Implementation

const FontFeature.proportionalFigures() : feature = 'pnum', value = 1;