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: Chris Lilley via GitHub <sysbot+gh@w3.org>
Date: Fri, 29 Jun 2018 08:59:19 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-401294150-1530262758-sysbot+gh@w3.org>
> Would an implementation of this have to do path analysis or render the same character multiple times in order to determine what font parameters to use?

No, not at all. tI is just doing `calc(0.9 * inherited-value)`

> Why doesn’t font-weight: bolder or font-weight: lighter work?

Those two are for the case of "I don't care what actual weight you use, just make it noticeably bolder". While this issue is the opposite "I really care what weight you use and want it to be this much times the weight of the parent element".

> Better synthesized small caps without the small caps having lighter strokes than the full height caps.
> Better synthesized superscripts/subscripts.

I think that optical sizing in variable fonts can also help with better synthesized super/sub, and maybe with smallcaps also.

-- 
GitHub Notification of comment by svgeesus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2690#issuecomment-401294150 using your GitHub account
Received on Friday, 29 June 2018 08:59:21 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:50 UTC