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][text-spacing] Extra spacing between Hangul and Hanja #9979

Open
xfq opened this issue Feb 20, 2024 · 2 comments
Open

[css-text][text-spacing] Extra spacing between Hangul and Hanja #9979

xfq opened this issue Feb 20, 2024 · 2 comments
Labels
css-text-4 i18n-klreq Korean 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 Feb 20, 2024

https://drafts.csswg.org/css-text-4/#non-ideographic-letters

According to the current definition of non-ideographic letters, there seems to be extra spacing between Hangul and Hanja in Korean mixed script, but there shouldn't be.


Example:

no

👆 text-autospace: no-autospace;

normal

👆 text-autospace: normal;

@xfq xfq added css-text-4 i18n-tracker Group bringing to attention of Internationalization, or tracked by i18n but not needing response. i18n-klreq Korean language enablement labels Feb 20, 2024
@frivoal
Copy link
Collaborator

frivoal commented Feb 20, 2024

I think you're right: I thought that maybe Hangul would have the Han script property in Scripts.txt or ScriptExtensions.txt (but it doesn't), or be classified as F in EastAsianWidth.txt. (but it is W instead).

I wonder if we should fix this by including Hangul in the ideographs grouping, or by taking it out of non-ideographic letters. I guess that depends on whether we expect text-autospace: ideograph-numeric to inject spacing between Hangul letters and non-ideographic numerals. My guess would be that we do, and that even though they're not actually ideographs, typographically, Hangul syllables are largely similar to ideographs, and should be included in the ideographs grouping.

@frivoal
Copy link
Collaborator

frivoal commented Feb 20, 2024

Btw, I had forgotten about this, but see also #9503. We should make sure it does the right thing here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-text-4 i18n-klreq Korean 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

2 participants