- From: Shinyu Murakami via GitHub <sysbot+gh@w3.org>
- Date: Sat, 04 Mar 2023 09:22:21 +0000
- To: public-css-archive@w3.org
I understand that some Chinese fonts such as "Microsoft JhengHei" have fullwidth brackets center-aligned in the full width, and that cause problem if trimmed with adjacent non-fullwidth punctuation. How about Korean text layout? In Korean texts, non-fullwidth punctuations are used primarily, and also fullwidth brackets are used occasionally. So I thought that the text-spacing handling of adjacent fullwidth and non-fullwidth punctuations might be important for Korean text. I checked Korean Wikipedia articles that contain adjacent fullwidth and non-fullwidth punctuations. [sample1](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) <blockquote lang="ko"> … 잉글랜드 유복한 집안에서 태어나 런던으로 이주하고서 본격 작품 활동을 시작하여 일약 명성을 얻었고, 생전에 '영국 최고의 극작가' 지위에 올랐다. 《로미오와 줄리엣》, 《햄릿》처럼 인간 내면을 통찰한 걸작을 남겼으며, … </blockquote> [sample2](https://ko.wikipedia.org/wiki/%EC%96%B4%EB%8B%88%EC%8A%A4%ED%8A%B8_%ED%97%A4%EB%B0%8D%EC%9B%A8%EC%9D%B4) <blockquote lang="ko"> … 로버트 듀발, 리처드 해리스 주연의 1993년 영화 《월터와 프랭크》(원제 《헤밍웨이와 레슬링하기》)는 플로리다의 해안 마을에서 은퇴한 두 친구의 우정을 다루었다. … </blockquote> <blockquote lang="ko"> <ul> <li>Hemingway, Ernest (2013). 《헤밍웨이 단편선(1~2 합본)》. 번역 김욱동. …</li> <li>Hemingway, Ernest (2013) [1932]. 《오후의 죽음》. 번역 장왕록. …</li> </ul> </blockquote> These examples use `《` (U+300A LEFT DOUBLE ANGLE BRACKET) and `》` (U+300B RIGHT DOUBLE ANGLE BRACKET) which are East_Asian_Width=Wide, but interestingly these fullwidth brackets appear to be half width in my browser's default Korean font setting (Korean font: "Apple SD Gothic Neo"). Screenshots, with Korean font "Apple SD Gothic Neo": <img width="393" alt="ko-sample1-AppleSDGothicNeo" src="https://user-images.githubusercontent.com/3324737/222889967-897548bb-5c85-4b8d-a4df-de4bc4496846.png"> <img width="529" alt="ko-sample2a-AppleSDGothicNeo" src="https://user-images.githubusercontent.com/3324737/222889981-802791d2-e4c2-4a5b-8cba-8ba416951bc8.png"> <img width="507" alt="ko-sample2b-AppleSDGothicNeo" src="https://user-images.githubusercontent.com/3324737/222889987-9f667634-38fc-4eba-8078-8d606628a3b9.png"> If such Korean fonts are very common, text-spacing-trim would not be necessary for Korean text. However, I found that other Korean fonts, such as AppleGothic, AppleMyungjo, Noto Sans KR, or Source Han Sans K are not the case. Screenshots, with Korean font "AppleGothic": <img width="393" alt="ko-sample1-AppleGothic" src="https://user-images.githubusercontent.com/3324737/222890022-8ab53e40-ff13-4f92-ba7b-b91d5f28d202.png"> <img width="529" alt="ko-sample2a-AppleGothic" src="https://user-images.githubusercontent.com/3324737/222890026-c0287ffa-b449-45b6-896b-0a94e63eaf4a.png"> <img width="521" alt="ko-sample2b-AppleGothic" src="https://user-images.githubusercontent.com/3324737/222890042-b0928391-468d-41d1-8e93-40da7bcc8635.png"> In these results, the spacing of adjacent fullwidth and non-fullwidth punctuations looks not very nice. We will need to hear from Korean text layout experts. -- GitHub Notification of comment by MurakamiShinyu Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6091#issuecomment-1454675193 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Saturday, 4 March 2023 09:22:24 UTC