- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Fri, 18 Sep 2020 23:34:11 +0000
- To: public-css-archive@w3.org
To start, it might be useful to divide the discussion into monospace fonts and variable-width fonts. For monospace fonts, the proposal is straightforward I think. You have a primary font, and you want the fallback font to have an identical advance so it keeps to the grid. So we can just override the advance with a manually-set value, done. (Do we want to center the glyph into the specified advance?) This also prevents fallback to things like emoji fonts from screwing up your monospace grid, at least if we do it right. Variable-width is potentially more difficult: * Is a constant adjustment to the advance the best we can do? Or would it be better to have a %-based change, on the logic that a "skinnier" font is still likely to have a very similar width for its `i` to a wide font, but characters like `w` are likely to be a lot more different between the two. * Do we need more complex logic for spacing, a la `letter-spacing`, so you don't get potentially-unsightly gaps at box edges? -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5533#issuecomment-695128252 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 18 September 2020 23:34:13 UTC