Module zng_ext_font::font_features
source · Expand description
Font features and variation types.
Macros§
- Initialize a
FontVariations
map.
Structs§
- All possible char_variant features (
cv00..=cv99
). - Represents a feature in a
FontFeatures
configuration. - Represents a set of exclusive boolean in a
FontFeatures
configuration, only one of the feature is enabled at a time. - Represents a set of exclusive boolean in a
FontFeatures
configuration, one or more of the features can be active at the same time but they always map to a single state. - Name of a font feature.
- Represents a set of features in a
FontFeatures
configuration, the features state is managed together. - State of a font feature.
- Font features configuration.
- A builder for
FontFeatures
. - Name of a font variation axis.
- A small map of font variations.
Enums§
- Font capital letters variant features.
- Logographic glyph variants for Chinese fonts.
- The sizing and spacing of figures used for East Asian characters.
- Sub-script and super-script variants.
- All possible style_set features.
- Logographic glyph variants for Japanese fonts.
- Font numeric fraction features.
- Font numeric spacing features.
- Font numeric variant features.
Constants§
- The raw value used when a feature is set to
false
. - The raw value used when a feature is set to
true
.
Traits§
- Represents
enum
like types that represents a exclusive set of features +Auto
. - Represents
enum
like types that represents a exclusive set of features +Auto
. Some variants can have multiple features.
Type Aliases§
- Finalized
FontFeatures
. - Finalized
FontVariations
.