Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[css-text] The definition of ideographs includes punctuation marks #9501

Open
xfq opened this issue Oct 20, 2023 · 4 comments
Open

[css-text] The definition of ideographs includes punctuation marks #9501

xfq opened this issue Oct 20, 2023 · 4 comments
Labels
Agenda+ i18n Add to agenda for CSS-i18n calls css-text-4 i18n-clreq Chinese language enablement i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.

Comments

@xfq
Copy link
Member

xfq commented Oct 20, 2023

https://drafts.csswg.org/css-text-4/#ideographs

The current definition of ideographs includes two Chinese punctuation marks, U+16FE2 and U+16FE3 (see the UnicodeSet), but no other punctuation marks. These characters are not used in modern Chinese, but they are used by scholars for the textual processing, electronic interchange, and publication of ancient Chinese texts.

As an example, if the end of a section/clause/sentence is Western text, then the spacing between the Western text and the U+16FE2 punctuation will become larger per text-autospace, which is not the result users want to see.

There should be some examples of classical Chinese mixed with Western texts in the early days of Republic China, but it will take some time to find specific examples.

@xfq xfq added css-text-4 i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. i18n-clreq Chinese language enablement labels Oct 20, 2023
@fantasai
Copy link
Collaborator

So probably the definition of "ideographs" should include only Letters, Numbers, Symbols, and Marks (excluding Punctuation, Spaces, and Control characters). Does that sound right?

@fantasai fantasai added the Agenda+ i18n Add to agenda for CSS-i18n calls label Oct 20, 2023
frivoal added a commit to frivoal/csswg-drafts that referenced this issue Oct 20, 2023
frivoal added a commit to frivoal/csswg-drafts that referenced this issue Oct 20, 2023
@frivoal
Copy link
Collaborator

frivoal commented Oct 20, 2023

@xfq #9503 tries to address this (and a some other things), can you have a look?

@Clqsin45
Copy link

A similar case might be using Bopomofo directly in text ( non-annotation usage).

I think according to https://www.w3.org/International/clreq/#chinese_and_western_mixed_text_composition, no spacing should be inserted between Bopomofo and Chinese characters, as Bopomofo should be non-western characters, but the current version is asking to do so, and it should be addressed by the PR.(?)

@frivoal
Copy link
Collaborator

frivoal commented Oct 26, 2023

@Clqsin45 I've posted an answer to your point above into #9471 This is a related topic, but I felt it might be better to keep this issue about punctuation, and that issue about classes of letters we might have put in the wrong category

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Agenda+ i18n Add to agenda for CSS-i18n calls css-text-4 i18n-clreq Chinese language enablement i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response.
Projects
None yet
Development

No branches or pull requests

4 participants