Skip to content

Commit f87f2b3

Browse files
author
Litherum
committed
[css-fonts] Specify font-language-override as a @font-face descriptor
#1392
1 parent 6bdfe54 commit f87f2b3

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

css-fonts-4/Overview.bs

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3001,34 +3001,36 @@ text run.
30013001
Then, the values applied in this step should be clamped (possibly again) to the values
30023002
that are supported by the font.
30033003

3004-
3. If the font is defined via an ''@font-face'' rule, the font language override
3004+
3. The language specified by the inherited value of lang/xml:lang
3005+
3006+
4. If the font is defined via an ''@font-face'' rule, the font language override
30053007
implied by the 'font-language-override!!descriptor' descriptor in the ''@font-face'' rule.
30063008

3007-
4. If the font is defined via an ''@font-face'' rule, the font variations
3009+
5. If the font is defined via an ''@font-face'' rule, the font variations
30083010
implied by the 'font-variation-settings!!descriptor' descriptor in the ''@font-face'' rule.
30093011

3010-
5. If the font is defined via an ''@font-face'' rule, the font features
3012+
6. If the font is defined via an ''@font-face'' rule, the font features
30113013
implied by the 'font-feature-settings!!descriptor' descriptor in the ''@font-face'' rule.
30123014

3013-
6. The font language override implied by the value of the 'font-language-override!!property' property.
3015+
7. The font language override implied by the value of the 'font-language-override!!property' property.
30143016

3015-
7. Font variations implied by the value of the 'font-optical-sizing!!property' property.
3017+
8. Font variations implied by the value of the 'font-optical-sizing!!property' property.
30163018

3017-
8. Font features implied by the value of the 'font-variant!!property' property,
3019+
9. Font features implied by the value of the 'font-variant!!property' property,
30183020
the related 'font-variant!!property' subproperties and any other CSS property
30193021
that uses OpenType features (e.g. the 'font-kerning!!property' property).
30203022

30213023
<!-- other CSS props override 'font-variant' but not 'font-feature-settings' -->
30223024
<!-- http://lists.w3.org/Archives/Public/www-style/2013Aug/0110.html -->
30233025

3024-
9. Feature settings determined by properties other than 'font-variant!!property' or
3026+
10. Feature settings determined by properties other than 'font-variant!!property' or
30253027
'font-feature-settings!!property'. For example, setting a
30263028
non-default value for the 'letter-spacing' property disables common ligatures.
30273029

3028-
10. Font variations implied by the value of the 'font-variation-settings!!property' property.
3030+
11. Font variations implied by the value of the 'font-variation-settings!!property' property.
30293031
These values should be clamped to the values that are supported by the font.
30303032

3031-
11. Font features implied by the value of 'font-feature-settings!!property' property.
3033+
12. Font features implied by the value of 'font-feature-settings!!property' property.
30323034

30333035
This ordering allows authors to set up a general set of defaults
30343036
for fonts within their ''@font-face'' rules, then override them with

0 commit comments

Comments
 (0)