W3C home > Mailing lists > Public > public-css-archive@w3.org > June 2018

Re: [csswg-drafts] [css-fonts-4] Percentages in font-weight for relative weights

From: Lea Verou via GitHub <sysbot+gh@w3.org>
Date: Thu, 28 Jun 2018 16:17:34 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-401091033-1530202653-sysbot+gh@w3.org>
> I don't think you can get this to work in the general case anyway; afaik there's no rule that says "weight 800 has the same thickness as 400 at twice the size"... Nor does 50% of the parent's font weight necessarily mean half its stroke thickness. The numbers are just an arbitrary per-font scale.
> (Also for small-caps, there's no rule for what size the synthesized small caps should be wrt full caps, so that's not even possible cross-platform.)

Obviously this would need to be tweaked on a per-font basis, but at least once you figure out the scale for a given font, that's it, whereas right now you have to tweak it individually for each font size and weight!!

GitHub Notification of comment by LeaVerou
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2690#issuecomment-401091033 using your GitHub account
Received on Thursday, 28 June 2018 16:17:45 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 19 September 2019 01:18:58 UTC