- From: Xiaocheng Hu via GitHub <sysbot+gh@w3.org>
- Date: Tue, 16 Apr 2024 10:28:16 +0000
- To: public-css-archive@w3.org
> The alternative proposed here thus addresses the asymmetry issues, but with much less compatibility risk than the spec’s current model: overall text measurement and layout is unaffected compared to existing behavior. All that changes is that glyphs appear centered within their (letter-spacing-adjusted) advance width instead of aligned to one edge (either left or inline-start, depending on the engine) of it. I have concerns about this, as it breaks alignment. Currently, a paragraph of text with `letter-spacing` still appears aligned to the inline-start edge of the block (at least on LTR pages), but with the proposal, the text will be off by half of the letter spacing. A real example is this [Hong Kong gov website](https://www.immd.gov.hk/hkt/about-us/welcome.html). With the proposal, the main text, which has letter spacing, will no longer be left-aligned with the header text. And I don't see an easy fix. We can manually apply some shifting to the text, but it doesn't sound like the right approach. -- GitHub Notification of comment by xiaochengh Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10193#issuecomment-2058759802 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 16 April 2024 10:28:17 UTC