Keep halt/vhal, chws/vchw OpenType features in CJK fonts
- Dominant language
- HTML
- Stars
- 20.5k
- Forks
- 2.9k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 95
Description
**Describe the bug**
[Chrome 123](https://chromestatus.com/feature/5170044014690304) now supports the CSS text-spacing-trim property for CJK Punctuation Width Adjustment.
In Chinese, Japanese, and Korean, applying kerning between punctuation characters improves the readability and produces more visually pleasing typography. Most printed materials and word processors apply this kerning today.
This blog post illustrates the feature: https://developer.chrome.com/blog/css-i18n-features#cjk_punctuation_kerning_text-spacing-trim
Currently, the Chrome implementation relies on fonts containing `halt/vhal`, `chws/vchw` OpenType features; however, Google Fonts removes them when subsetting, making text-spacing-trim unusable in Chrome.
**To Reproduce**
Demo: https://codepen.io/yisi/pen/vYMJPyK
Please test with Chrome Canary `125.0.6407.0`, there was an [issue](https://issues.chromium.org/issues/331684447) before that.
**Expected behavior**
Expect the same effect as the iconfont.cn in the example. The spacing between colons(`:`) and quotation(`「`) marks becomes smaller.
**Screenshots**
The font is: Noto Serif SC

Contributor guide
Assessment
This issue has not been assessed yet.