Open svgeesus opened 6 years ago
Just applying axis value to the font doesn't seem to be enough. I don't see what font can do on its own, beyond simply adding space between or around glyphs (with some adjustments to glyph outlines or kerning). It doesn't cover case when multiple adjacent runs are present, including runs of different scripts, fonts, direction, on line boundary. More complex protocol between UA and font may be needed here.
If the proposal is for a font to implement letter-spacing itself, that’s not a great idea because browsers have lots of logic to answer the question of “what is a letter?” I’m pretty concerned about every font having to re-encode ICU breaking-iterator logic inside their GPOS tables.
A better solution would be for some way for a font to inform the browser with advice about how to place glyphs in the presence of letter-spacing, but the letter-spacing logic itself remains in the browser.
Any other thoughts? I see @SergeyMalkin and myself pushing against this; in the absence of anything else I'll close the issue.
Was just raising for awareness and possible discussion. I'm fine with closing. Maybe John Hudson has other opinions, but I suspect he was mainly musing how it would work with the rest of CSS.
From John Hudson on www-style: