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

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