Expand description
Font features and variation types.
Macros§
- font_
variations - Initialize a
FontVariationsmap.
Structs§
- Char
Variant - All possible char_variant features (
cv00..=cv99). - Font
Feature - Represents a feature in a
FontFeaturesconfiguration. - Font
Feature Exclusive Set - Represents a set of exclusive boolean in a
FontFeaturesconfiguration, only one of the feature is enabled at a time. - Font
Feature Exclusive Sets - Represents a set of exclusive boolean in a
FontFeaturesconfiguration, one or more of the features can be active at the same time but they always map to a single state. - Font
Feature Name - Name of a font feature.
- Font
Feature Set - Represents a set of features in a
FontFeaturesconfiguration, the features state is managed together. - Font
Feature State - State of a font feature.
- Font
Features - Font features configuration.
- Font
Features Builder - A builder for
FontFeatures. - Font
Variation Name - Name of a font variation axis.
- Font
Variations - A small map of font variations.
Enums§
- Caps
Variant - Font capital letters variant features.
- CnVariant
- Logographic glyph variants for Chinese fonts.
- East
Asian Width - The sizing and spacing of figures used for East Asian characters.
- Font
Position - Sub-script and super-script variants.
- Font
Style Set - All possible style_set features.
- JpVariant
- Logographic glyph variants for Japanese fonts.
- NumFraction
- Font numeric fraction features.
- NumSpacing
- Font numeric spacing features.
- NumVariant
- Font numeric variant features.
Constants§
- FEATURE_
DISABLED - The raw value used when a feature is set to
false. - FEATURE_
ENABLED - The raw value used when a feature is set to
true.
Traits§
- Font
Feature Exclusive SetState - Represents
enumlike types that represents a exclusive set of features +Auto. - Font
Feature Exclusive Sets State - Represents
enumlike types that represents a exclusive set of features +Auto. Some variants can have multiple features.
Type Aliases§
- RFont
Features - Finalized
FontFeatures. - RFont
Variations - Finalized
FontVariations.