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

Western glyphs for Chinese punctuation marks #52

Open
xfq opened this issue Aug 25, 2023 · 0 comments
Open

Western glyphs for Chinese punctuation marks #52

xfq opened this issue Aug 25, 2023 · 0 comments

Comments

@xfq
Copy link

xfq commented Aug 25, 2023

Since the code points of the curved quotation marks are shared by Chinese and Western scripts, according to the generated CSS, the quotation marks are displayed as Western quotation marks, because Western fonts (like Noto Sans) are put before Chinese fonts, which do not conform to the Chinese layout requirements. Dashes, ellipses, and middle dots have the same problem.

The clreq project solves this by using the unicode-range CSS descriptor: https://github.com/w3c/clreq/blob/gh-pages/local.css

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant