-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
替换字体功能,替换字体列表内找不到部分已安装字体 #101
Comments
是这样的。由于技术限制,目前 OpenType 字体无法嵌入到 PDF 文档。 |
猜到可能是这个问题,所以也装了ttf版的,也读取不到。 |
PDF组件读取不了那字体。真没办法。 |
1 similar comment
PDF组件读取不了那字体。真没办法。 |
好的,只能换其他字体了,感谢。 |
是啊,我自己也想将某些字体替换成思源黑体、思源宋体,但实在没办法 :( |
我这边看了下源代码,找到了替换字体列表缺失字体的原因。缺失这部分字体位于注册表的[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Fonts]项目下,程序读取字体(FontHelper.cs内)只读取了LocalMachine下的字体,增加后就可以读取到所有字体。 |
请简要描述你遇到的问题
pdf使用的思源黑体乱码,希望使用字体替换解决,但是替换字体列表里面找不到已安装的思源黑体字体。
word里可以看到思源黑体字体(SourceHanSans)已安装
替换列表里找不到(SourceHanSans也找不到)
The text was updated successfully, but these errors were encountered: