Re: [csswg-drafts] [css-values] Proposal: `sp` and `rsp` space glyph units (#10534)

A potential problem here is that the CSS text is only referencing abstract *characters*, not specific glyphs (there is no way to directly reference specific glyphs in CSS, you only access them indirectly through combinations of characters, fonts, font features, etc). While in many cases it is a simple relationship where only 1 glyph represents 1 character, that is definitely not always true.

But if you did make a space unit for a given character based on the current font and text shaping situation (as with the `ch` unit), and you’re going to allow for more complex mapping, why stop at one character and not allow multi-character text strings?

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 8 July 2024 09:19:50 UTC