FontFeature.scientificInferiors constructor
const
FontFeature.scientificInferiors()
Use scientific inferiors. (sinf
)
Some fonts have variants of the figures (e.g. the digit 2) that, when this feature is enabled, render in a manner more appropriate for subscripted digits ("inferiors") used in scientific contexts, e.g. the subscripts in chemical formulae.
This may override other features that substitute glyphs.
{@tool sample}
The Piazzolla font supports the sinf
feature. It causes
digits to be smaller and subscripted.
** See code in examples/api/lib/ui/text/font_feature.font_feature_scientific_inferiors.0.dart ** {@end-tool}
See also:
Implementation
const FontFeature.scientificInferiors()
: feature = 'sinf',
value = 1;