-
Notifications
You must be signed in to change notification settings - Fork 124
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
将U+2E3A视作破折号 & Noto CJK(Source Han)默认破折号字面不居中 #320
Comments
您拼错了吧,不是 |
U+2E3A 这个破折号,以前大陆这边做的中文字体都不支持,所以没注意到。日文字体好像都会用。现在 Pan-CJK 字体多起来,支持就有必要了。 双破折号这个设置为 FullRight 感觉不大对,因为感觉前后都允许断行更好。目前的 CJK 字符类别偏少,再考虑一下。 xeCJK 对直排目前没有明确支持,有这方面需求直接用 upLaTeX 或 pLaTeX-ng 吧,也不麻烦。 |
抱歉。已修改。
尝试了一下,确实有用。
U+2014被设置为 |
单个U+2E3A(TWO-EM DASH)字符是一个中文破折号,可以代替两个U+2014(EM DASH)。
(参见clreq)
xeCJK目前未将其视为中文标点:
结果:
应将其加入
FullRight
和MiddlePunct
另:
对于Source Han(或Noto CJK),破折号默认是西文破折号,位置偏下:
与Fandol的对比:
Source Han中垂直居中的中文破折号通过
locl
特性得到(参见SourceHanSerifReadMe中Language Particulars
中Proportional & Half-Width CJK Punctuation
一节),但似乎fontspec
并不支持locl
。无论U+2014还是U+2E3A都无法垂直居中。U+2500可以垂直居中,但不适合作为破折号。
对此是否有workaround?
The text was updated successfully, but these errors were encountered: