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

Re: [csswg-drafts] [css-fonts] Any proposals to make CSS font-size-adjust work better for all scripts? (#4540)

From: David Berlow via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Dec 2019 12:58:27 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-567020783-1576673906-sysbot+gh@w3.org>
davelab6 I wonder if there is something less bonkers about this, in terms of making font-size-adjust work for all scripts?

Font size adjust adresses the issue of x-ht adjustment between default fonts and fallback fonts, but could be used for any scaling measure the user would like. It’s limits are that, as it just allows a change of font size, the other aspects of typography could need adjustment as well. 

If “…for all scripts”, asks if two chinese fonts were sized differently on the em, can the fallback can be resized to match the default? I’m sure that’s possible. I.E. if the total of ascender and desender of each Chinese font is accurate, they can be added together, made into a ratio to the units per em, and scaled to the same height. But, to make the focus of reading, (1/2 of each value) match in both fonts, a baseline shift might also be required. 

So, if the measure of whatever value the user wants to adjust is available, that can be used to establish an “aspect value”, and scaled between default and fallback. The aspect value is, i suspect arrived at visually in most cases, unless someone can explain the documentation which I’ve noted to be wrong elsewhere. 

GitHub Notification of comment by dberlow
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4540#issuecomment-567020783 using your GitHub account
Received on Wednesday, 18 December 2019 12:58:28 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:57 UTC