Skip to content

Commit ac67b72

Browse files
committed
[css-fonts-4] Distinguished use of varfont slnt axis from synthetic obliquing #9391
1 parent ad6e867 commit ac67b72

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

css-fonts-4/Overview.bs

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4292,13 +4292,12 @@ if all font style properties were set to their initial value.
42924292
faces with oblique values which do not include the desired oblique value are removed from the matching set.
42934293
2. Otherwise, oblique values above the desired oblique value are checked in ascending order followed by
42944294
oblique values below the desired oblique value, until 0 is hit. Only positive values of oblique values are checked in this stage.
4295-
3. If 'font-synthesis-style' has the value
4296-
''font-synthesis-style/auto'',
4297-
then for variable fonts with a slnt axis
4295+
3. For variable fonts with a slnt axis,
42984296
a match is created by setting the slnt value
4299-
with the specified oblique value;
4300-
otherwise,
4301-
a fallback match is produced
4297+
with the specified oblique value.
4298+
Otherwise, if 'font-synthesis-style' has the value
4299+
''font-synthesis-style/auto'',
4300+
then a fallback match is produced
43024301
by geometric shearing to the specified oblique value.
43034302
4. If no match is found, italic values greater than or equal to 1 are checked in ascending order
43044303
followed by italic values below 1 in descending order, until 0 is hit. Only positive values of italic values are checked in this stage.
@@ -4323,12 +4322,11 @@ if all font style properties were set to their initial value.
43234322
2. Otherwise, oblique values below the desired oblique value are checked in descending order until 0 is hit, followed by
43244323
oblique values above the desired oblique value. Only positive values of oblique values are checked
43254324
in this stage.
4326-
3. If 'font-synthesis-style' has the value ''font-synthesis-style/auto'',
4327-
then for variable fonts with a slnt axis
4325+
3. For variable fonts with a slnt axis,
43284326
a match is created by setting the slnt value
4329-
with the specified oblique value;
4330-
otherwise,
4331-
a fallback match is produced
4327+
with the specified oblique value.
4328+
Otherwise, if 'font-synthesis-style' has the value ''font-synthesis-style/auto'',
4329+
then a fallback match is produced
43324330
by geometric shearing to the specified oblique value.
43334331
4. If no match is found, italic values less than 1 are checked in descending order until 0 is hit,
43344332
followed by italic values above 1 in ascending order. Only positive values of italic values

0 commit comments

Comments
 (0)