W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2019

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

From: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Wed, 04 Dec 2019 01:10:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-561429198-1575421823-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:31:17 UTC