- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Jul 2018 08:01:20 +0000
- To: public-css-archive@w3.org
The Working Group just discussed `font-size-adjust per font`. <details><summary>The full IRC log of that discussion</summary> <fantasai> Topic: font-size-adjust per font<br> <fantasai> github: https://github.com/w3c/csswg-drafts/issues<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/2857<br> <frremy> fantasai: font-size-adjust should find the aspect-ratio of the first font, then transform the fallback fonts to make the effective size of the glyphs consistent<br> <frremy> fantasai: that works great for latin text, because it uses the x-height<br> <frremy> fantasai: but that doesn't help fonts that do not rely on x-height like cjk, where the glyph size will still vary<br> <frremy> fantasai: maybe we should allow authors to specify the correct ratio for each font<br> <frremy> fantasai: what do implementers think?<br> <frremy> dbaron: the feature you describe seems better as a descriptor on the font<br> <frremy> myles: we have had some requests to provide new metrics for fonts inside @font-face<br> <frremy> dbaron: font-size-adjustement was designed for bicameral scripts, maybe we want to add default solutions for other script types<br> <frremy> dbaron: that being said, font-size-adjust solves two problems;<br> <frremy> dbaron: one is that sizes that don't match well without your list of fallbacks<br> <frremy> dbaron: but the other case is that you want to apply the metrics of your font to any OS-based fallback<br> <frremy> dbaron: an example is Verdana, which is very unique<br> <frremy> dbaron: that specific case cannot be solved with specific numbers, because you don't know the OS font<br> <frremy> dbaron: I had a proposal to make this work<br> <frremy> dbaron: but this hasn't been around for 20 years and most implementations aren't there<br> <frremy> fantasai: I think this is because this is confusing<br> <frremy> fantasai: the monospace is an example of that<br> <frremy> frremy: that one is super confusing<br> <frremy> fantasai: so, since that was super difficult to use, people didn't use it<br> <frremy> fantasai: finding the x-height is very difficult<br> <frremy> fantasai: and in the end, it only works for bicameral<br> <frremy> fantasai: my proposal is a factor per font, so it's easy to implement<br> <frremy> fantasai: and easy for authors to guess<br> <fantasai> s/implement/understand (and implement?)/<br> <frremy> dbaron: yes, that seems reasonable<br> <frremy> dbaron: font-size-adjust currently you have to specify the value relative to the font-size<br> <frremy> fantasai: because you need to inherit, and so you have to react to changes in font-size<br> <frremy> dbaron: if it were a functional notation in font-size, you would be able to make this work<br> <frremy> fantasai: regardless, I propose we add a descriptor for size multiplier named font-size-adjust<br> <frremy> dbaron: I agree on the idea but would not call it font-size-adjust, that is confusing<br> <frremy> astearns: well, we are out of time<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2857#issuecomment-402048691 using your GitHub account
Received on Tuesday, 3 July 2018 08:01:24 UTC