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

非简中系统中 中文字体的问题 #105

Closed
WXRIW opened this issue Jan 11, 2023 · 6 comments
Closed

非简中系统中 中文字体的问题 #105

WXRIW opened this issue Jan 11, 2023 · 6 comments
Labels

Comments

@WXRIW
Copy link
Contributor

WXRIW commented Jan 11, 2023

WPF 在英文系统中,中文的默认字体比较怪,所以我一般的做法是 FontFamily="Segoe UI, Microsoft YaHei UI"
image

@noberumotto
Copy link
Contributor

thanks!

@greenhat616
Copy link

greenhat616 commented Jan 17, 2023

话说, 这个字体渲染也有点问题呀,看起来像是 hinting 错误得生效了,也可能是没有做 y 轴抗锯齿; 包括右侧, 部分字体也是大小不一.
图片
@noberumotto
win11 22h2 4k 200% 缩放

@greenhat616
Copy link

补充,克隆项目后更新了一下 nuget 依赖,并且将 target 指定为 .Net Framework 4.8;渲染问题就解决了。目前还未测试 .Net 6。
图片
cc @noberumotto

@AlexV525
Copy link

WPF 在英文系统中,中文的默认字体比较怪

该问题仍持续存在
image
image

@AlexV525
Copy link

1.5.0.5 貌似效果依旧。
image
image

@WXRIW
Copy link
Contributor Author

WXRIW commented Nov 12, 2023

1.5.0.5 貌似效果依旧。 image image

就是这样的效果啊,调用的是微软雅黑。

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

No branches or pull requests

4 participants