W3C home > Mailing lists > Public > public-css-archive@w3.org > May 2020

Re: [csswg-drafts] [css-fonts] Proposal to extend CSS font-optical-sizing (#4430)

From: VivaRado via GitHub <sysbot+gh@w3.org>
Date: Thu, 21 May 2020 01:48:25 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-631829853-1590025704-sysbot+gh@w3.org>
Personally i believe optical size is an "Effect" just like responsive CSS. I don't think it should be embedded in the font structure. You should just be able to state in CSS you want something "optical-size:5px pt em whatever measurement", and then if you animate the size or transition: optical-size, it should deal with it. Maybe one should provide the optical size axis array to CSS when loading a fontface just like one would embed it to OPS when compiling a variable font. Or maybe CSS should read the OPS from a variable font to retrieve such details and all you need to do is just activate the functionality. In the meantime i think one could achieve better optical sizing if he explicitly coded it in CSS and JS than the current state of variable interpolation that seems to miss hell of a lot because of some hard-coded threshold in size.

GitHub Notification of comment by VivaRado
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4430#issuecomment-631829853 using your GitHub account
Received on Thursday, 21 May 2020 01:48:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:07 UTC