You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
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
Error displaying Chinese characters in textBlock(2.0.1-win11)
Error displaying Chinese characters in controls(2.0.1-win11)
Jul 9, 2022
It looks a bit like this font lacks letters for different font weights
No, the way those characters are written is not correct, it is not the simplified Chinese writing style.
Maybe you should use a better default font for controls.
The correct way to write these characters is as follows:(Font: Microsoft YaHei )
wpfui默认字体是segoe ui,不是微软雅黑
在app.xaml里覆盖成微软雅黑就行
<FontFamily x:Key="ContentControlThemeFontFamily">微软雅黑</FontFamily>
<FontFamily x:Key="DFontFamily">微软雅黑</FontFamily>
知道,所以建议把默认字体改成中文字形质量好一点字体。还是谢谢了,让我学到了怎么改默认字体。 : ) 我是个业余选手,以后遇到问题可以向你请教一下吗(当然是在网上查找无果的前提下)?可以的话加你这个QQ?