@@ -1921,7 +1921,7 @@ body { font-family: DroidSans; }
1921
1921
</div>
1922
1922
1923
1923
<h3 id="font-rend-desc">
1924
- Font features: the 'font-variant' and 'font-feature -settings' descriptors</h3>
1924
+ Font features and variations : the 'font-variant', 'font-feature-settings', and 'font-variation -settings' descriptors</h3>
1925
1925
1926
1926
<pre class='descdef'>
1927
1927
Name : font-variant
@@ -1946,14 +1946,21 @@ Initial: normal
1946
1946
For : @font-face
1947
1947
</pre>
1948
1948
1949
+ <pre class='descdef'>
1950
+ Name : font-variation-settings
1951
+ Value : normal | [ <<string>> <<number>>] #
1952
+ Initial : normal
1953
+ For : @font-face
1954
+ </pre>
1955
+
1949
1956
These descriptors define initial settings that apply when the font defined by
1950
1957
an <code> @font-face</code> rule is rendered. They do not affect font selection.
1951
1958
Values are identical to those defined for the corresponding
1952
- 'font-variant' and 'font-feature -settings' properties defined below
1959
+ 'font-variant' , 'font-feature-settings' , and 'font-variation -settings' properties defined below
1953
1960
except that the value 'inherit' is omitted. When multiple font
1954
- feature descriptors or properties are used, the cumulative effect on
1961
+ feature descriptors, properties, or variations are used, the cumulative effect on
1955
1962
text rendering is detailed in the section
1956
- <a href="#font-feature-resolution">Font Feature Resolution</a> below.
1963
+ <a href="#font-feature-variation- resolution">Font Feature and Variation Resolution</a> below.
1957
1964
In cases where specific values define synthesized fallback for certain
1958
1965
'font-variant' subproperties, the same synthesized fallback
1959
1966
applies when used within those values are used with the
@@ -2685,29 +2692,32 @@ text run.
2685
2692
Then, the values applied in this step should be clamped (possibly again) to the values
2686
2693
that are supported by the font.
2687
2694
2688
- 3. If the font is defined via an ''@font-face'' rule, the font features
2689
- implied by the font-variant descriptor in the ''@font-face'' rule.
2695
+ 3. If the font is defined via an ''@font-face'' rule, the font variations
2696
+ implied by the ' font-variation-settings' descriptor in the ''@font-face'' rule.
2690
2697
2691
2698
4. If the font is defined via an ''@font-face'' rule, the font features
2692
- implied by the font-feature-settings descriptor in the ''@font-face'' rule.
2699
+ implied by the 'font-feature-settings' descriptor in the ''@font-face'' rule.
2700
+
2701
+ 5. If the font is defined via an ''@font-face'' rule, the font features
2702
+ implied by the 'font-feature-settings' descriptor in the ''@font-face'' rule.
2693
2703
2694
- 5 . Font variations implied by the value of the 'font-optical-sizing' property.
2704
+ 6 . Font variations implied by the value of the 'font-optical-sizing' property.
2695
2705
2696
- 6 . Font features implied by the value of the 'font-variant' property,
2706
+ 7 . Font features implied by the value of the 'font-variant' property,
2697
2707
the related 'font-variant' subproperties and any other CSS property
2698
2708
that uses OpenType features (e.g. the 'font-kerning' property).
2699
2709
2700
2710
<!-- other CSS props override 'font-variant' but not 'font-feature-settings' -->
2701
2711
<!-- http://lists.w3.org/Archives/Public/www-style/2013Aug/0110.html -->
2702
2712
2703
- 7 . Feature settings determined by properties other than 'font-variant' or
2713
+ 8 . Feature settings determined by properties other than 'font-variant' or
2704
2714
'font-feature-settings' . For example, setting a
2705
2715
non-default value for the 'letter-spacing' property disables common ligatures.
2706
2716
2707
- 8 . Font variations implied by the value of the 'font-variation-settings' property.
2717
+ 9 . Font variations implied by the value of the 'font-variation-settings' property.
2708
2718
These values should be clamped to the values that are supported by the font.
2709
2719
2710
- 9 . Font features implied by the value of 'font-feature-settings' property.
2720
+ 10 . Font features implied by the value of 'font-feature-settings' property.
2711
2721
2712
2722
This ordering allows authors to set up a general set of defaults
2713
2723
for fonts within their ''@font-face'' rules, then override them with
0 commit comments