Module font_feature_values_rule

Source
Expand description

The @font-feature-values at-rule.

Macrosยง

font_feature_values_blocks ๐Ÿ”’

Structsยง

FFVDeclaration
A @font-feature-values block declaration. It is <ident>: <integer>+. This struct can take 3 value types.
FFVDeclarationsParser ๐Ÿ”’
@font-feature-values inside block parser. Parses a list of FFVDeclaration. (<ident>: <integer>+)
FontFeatureValuesRule
The @font-feature-values at-rule.
FontFeatureValuesRuleParser ๐Ÿ”’
Parser for FontFeatureValuesRule. Parses all blocks { } = @stylistic | @historical-forms | @styleset | @character-variant | @swash | @ornaments | @annotation
PairValues
A @font-feature-values block declaration value that keeps one or two values.
SingleValue
A @font-feature-values block declaration value that keeps one value.
VectorValues
A @font-feature-values block declaration value that keeps a list of values.

Enumsยง

BlockType ๐Ÿ”’
Keeps the information about block type like @swash, @styleset etc.

Functionsยง

parse_family_name_list
Parses a list of FamilyNames.
update_or_push ๐Ÿ”’
Updates with new value if same ident exists, otherwise pushes to the vector.