Re: [csswg-drafts] [css-fonts] Extend font-size-adjust to adjust for average character width

I do not think it's possible to avoid reflows by applying a single 
glyph width adjustment.

With ex height, there's one consistent feature of the font being 
modified. And even with that benefit it's difficult to come up with 
the single adjustment that works across browsers (as shown above).

There are a lot of glyph widths in a font, and fonts vary over how 
widths differ across glyphs. Taking an average width is problematic in
 a lot of ways, and whatever method you choose to average over a font 
is almost guaranteed not to match the average over glyph usage in a 
particular piece of content. And even if you did happen to match the 
average in a piece of content, the average in each line will vary 
within that content. So any particular value you choose will still be 
likely to cause line break changes as the number of lines in the 
content increases.

-- 
GitHub Notification of comment by astearns
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/750#issuecomment-262987992 
using your GitHub account

Received on Friday, 25 November 2016 16:08:17 UTC