- From: Shinyu Murakami via GitHub <sysbot+gh@w3.org>
- Date: Tue, 07 Mar 2023 04:58:56 +0000
- To: public-css-archive@w3.org
I noticed that the `'text-spacing: trim-all'` might be useful especially for Korean text. It may resolve the problem, “the spacing of adjacent fullwidth and non-fullwidth punctuations looks not very nice” (see <https://github.com/w3c/csswg-drafts/issues/6091#issuecomment-1454675193>), without adding non-fullwidth handling to trim-spacing. Windows and Mac's default Korean fonts, "Malgun Gothic" and "Apple SD Gothic Neo", have narrow (proportional) width glyphs for fullwidth (East_Asian_Width=Wide) punctuations, such as "《 》". So authors treat these punctuations as proportional and add space (U+0020) for necessary spacing, e.g., between "," and "《" in the following example: > … 생전에 '영국 최고의 극작가' 지위에 올랐다. 《로미오와 줄리엣》, 《햄릿》처럼 인간 내면을 통찰한 걸작을 남겼으며, … (from [an Wikipedia Korean article](https://ko.wikipedia.org/wiki/%EC%9C%8C%EB%A6%AC%EC%97%84_%EC%85%B0%EC%9D%B5%EC%8A%A4%ED%94%BC%EC%96%B4)) This looks good if such fonts are used (Windows and Mac's default fonts are ok), but not very good with other fonts (e.g., with Android default fonts). The `'text-spacing: trim-all'` may be used to solve this problem. `'text-spacing: trim-all'` will be useful also for Japanese text, when authors want to use proportional punctuation (with `font-kerning: all`, or `font-feature-settings: 'palt'`) but available fonts may not have that feature. `'text-spacing: trim-all'` may be used as a reasonable fallback. -- GitHub Notification of comment by MurakamiShinyu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8482#issuecomment-1457534363 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 7 March 2023 04:58:58 UTC