[csswg-drafts] [css-text-4] `text-spacing` and OpenType halt/vhal/chws/vchw features (#8293)

kojiishi has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-text-4] `text-spacing` and OpenType halt/vhal/chws/vchw features ==
Related with #8292 but I think this part is easier to discuss by splitting into a separate issue, so here it is.

When the [`text-spacing`] property makes some assumption on how glyphs are designed, such as specific parts of the glyph spaces are empty, it's great if font designers can override the behavior when they need.

To do this, I'd like to suggest that:
1. For the adjacent trimming, if the font has `chws` or `vchw`, the trimming should be deferred to the feature.
2. For other trimming, or for the adjacent trimming with the font without `chws` nor `vchw`, if the font has `halt` or `vhal`, the trimming should use the feature.
3. For other cases, if UA wants to synthesize the trimming, #8292 can discuss more.

Thoughts? /cc @litherum @fantasai @frivoal @MurakamiShinyu @macnmm

[`text-spacing`]: https://drafts.csswg.org/css-text-4/#text-spacing-property

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8293 using your GitHub account


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

Received on Monday, 9 January 2023 23:38:19 UTC