Re: [csswg-drafts] [css-fonts-4] [varfont] font matching algorithm should not favor italic as a fallback for oblique (#514)

So, this would affect the two lists in the [font matching algorithm[():

> If the value of 'font-style!!property' is ''oblique'' and the requested angle is greater than or equal to 20deg,

and

> If the value of 'font-style!!property' is ''oblique'' and the requested angle is greater than or equal to 0deg and less than 20deg,

in both cases, a new step would be inserted between the current step 2 (checking nearby oblique values in the family) and step 3 (checking italic values). This step would say something like:

If [`font-synthesis-style`](https://drafts.csswg.org/css-fonts-4/#font-synthesis-style) has the value `auto`, the a match is is created (for variable fonts with a `slnt` axis, by setting the `slnt` value; otherwise, by geometric shearing) with the specified oblique value.


-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/514#issuecomment-561429198 using your GitHub account

Received on Wednesday, 4 December 2019 01:10:28 UTC