You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
… the @font-feature-values rule is used to define values for a specific font family or set of families that associate a font-specific numeric <feature-index> with a custom <feature-value-name>, which is then used in this property to select specific alternates
This is somewhat vague, as there are no references to the related syntax definitions.
The definitions should be changed to use the syntax from the CSS Syntax Module.
I.e. they may look like this:
@font-face = @font-face { <declaration-list> }
where <declaration-list> can only contain the @font-face descriptors.
where <rule-list> can only contain <feature-value-block> rules, <feature-type> takes all font specific property names of font-variant-alternates prefixed with '@', <declaration-list> can only contain feature value definition properties holding <feature-value> values and the <integer> values in <feature-value> denote the feature indices.
The references to these syntax definitions should then link to them.
Sebastian
The text was updated successfully, but these errors were encountered:
Yes, I need to port this over to Fonts 4, at which time it will use the CSS Syntax definitions.
We also resolved to remove @font-feature-values from Fonts 3 due to lack of two implementations, so that will deal with the obsolete syntax aspect for that part at least.
The current definition of the
<family-name>
type is:And the
<feature-index>
and<feature-value-name>
types are currently defined like this:This is somewhat vague, as there are no references to the related syntax definitions.
The definitions should be changed to use the syntax from the CSS Syntax Module.
I.e. they may look like this:
where
<declaration-list>
can only contain the @font-face descriptors.and
where
<rule-list>
can only contain<feature-value-block>
rules,<feature-type>
takes all font specific property names offont-variant-alternates
prefixed with '@',<declaration-list>
can only contain feature value definition properties holding<feature-value>
values and the<integer>
values in<feature-value>
denote the feature indices.The references to these syntax definitions should then link to them.
Sebastian
The text was updated successfully, but these errors were encountered: