Module font

Source
Expand description

Generic types for font stuff.

Re-exports§

pub use self::GenericLineHeight as LineHeight;

Structs§

FeatureTagValue
https://drafts.csswg.org/css-fonts-4/#feature-tag-value
FontSettings
A value both for font-variation-settings and font-feature-settings.
FontTag
A font four-character tag, represented as a u32 for convenience.
VariationValue
Variation setting for a single feature, see:

Enums§

FontStyle
A generic value for the font-style property.
GenericFontSizeAdjust
A generic value for the font-size-adjust property.
GenericLineHeight
A generic value for the line-height property.

Traits§

TaggedFontValue
A trait for values that are labelled with a FontTag (for feature and variation settings).