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

[BUG] 简体中文缺字 #156

Open
cmradix opened this issue Jan 16, 2024 · 11 comments
Open

[BUG] 简体中文缺字 #156

cmradix opened this issue Jan 16, 2024 · 11 comments
Labels
missing missing characters or ligatures V7 already fixed, will release in V7

Comments

@cmradix
Copy link

cmradix commented Jan 16, 2024

经过测试在VSCODE下似乎缺失了【胶】字,使用的字体是
Q20240116205844

另外在VSCODE1.85.1中当editor.wrappingStrategy设置为simple时(也是默认模式)使用该字体会导致折行异常。(文本进入遮挡区后才折行)

simple模式
QQ截图20240116210146

advanced模式
QQ截图20240116210220

@subframe7536
Copy link
Owner

#44
#128

@cmradix
Copy link
Author

cmradix commented Jan 17, 2024

#44 #128

经过确认此字符编码\u80F6,确实不存在

@subframe7536
Copy link
Owner

subframe7536 commented Jan 17, 2024

源字体(思源黑体)中不存在\u80F6这个字符
image

使用微软拼音输入法输出的结果是这个
image

在vscode中也可以正常显示
image

@cmradix
Copy link
Author

cmradix commented Jan 17, 2024

源字体(思源黑体)中不存在\u80F6这个字符 image

使用微软拼音输入法输出的结果是这个 image

在vscode中也可以正常显示 image

这里引用一下其他人的说法:
实际上“胶”这个字应该分为“月字旁”和“肉字旁”两个字,只是在汉字演变过程中大部分字体看上去是一样的。
“月字旁”的本义是“日月之交”;“肉字旁”的本意是“胫骨”。至于U+80F6和U+3B35哪一个是“月字旁”,哪一个是“肉字旁”,说法不一,我暂时难以考证。但简体字环境下,这两个字形不做区分。从编码看,U+80F6位于基本区,属于GB2312包含的范围,U+3B35则是位于扩展A区。所以我建议简体字环境下,使用U+80F6。

个人建议直接直接使用3B35,直接映射到80F6

@subframe7536
Copy link
Owner

比较奇怪的是,我在网站中测试时输入“胶”时,输出的是\u80F6,但是在fontlab的preview面板中输出的是\u3B35

所以是浏览器自动fallback了吗?

@cmradix
Copy link
Author

cmradix commented Jan 17, 2024

比较奇怪的是,我在网站中测试时输入“胶”时,输出的是\u80F6,但是在fontlab的preview面板中输出的是\u3B35

所以是浏览器自动fallback了吗?

我用python代码转换出来的都是80f6,微软输入法也是,在虚拟机里面新装的系统和在别人电脑上跑出来的都是80f6
下面是代码
unicode_str = ""
encoded_str = unicode_str.encode("unicode_escape")

print(encoded_str)

@subframe7536 subframe7536 added the bug Something isn't working label Jan 17, 2024
@subframe7536 subframe7536 added missing missing characters or ligatures and removed bug Something isn't working labels Feb 20, 2024
@subframe7536
Copy link
Owner

subframe7536 commented Mar 16, 2024

你可以测试一下 v7-beta10
image

@cmradix
Copy link
Author

cmradix commented Mar 16, 2024

你可以测试一下 v7-beta10 image

确认,80f6已正常包含,另外请问自V7版本开始SC是否改为了CN?

@subframe7536
Copy link
Owner

是的,因为包含了繁体并支持了locl特性

如果自行构建时没有包含nerdfont,则是Maple Mono CN

@cmradix
Copy link
Author

cmradix commented Mar 16, 2024

是的,因为包含了繁体并支持了locl特性

如果自行构建时没有包含nerdfont,则是Maple Mono CN

明白了,感谢解答,本issues可以关闭了

@cmradix cmradix closed this as completed Mar 16, 2024
@subframe7536 subframe7536 added the V7 already fixed, will release in V7 label Mar 16, 2024
@subframe7536
Copy link
Owner

暂时打开,等到V7正式发布再关闭

@subframe7536 subframe7536 reopened this Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing missing characters or ligatures V7 already fixed, will release in V7
Projects
Status: Done
Development

No branches or pull requests

2 participants