VerticalContentAlignment="Center" has been set, but the SourceHanSansCN font is still not centered in all controls
susin3x opened this issue · 5 comments
susin3x commented
Describe the bug
VerticalContentAlignment="Center" has been set, but the SourceHanSansCN font is still not centered in all controls
Uploading FontFontFamilyTest.zip…
To Reproduce
VerticalContentAlignment="Center" has been set, but the SourceHanSansCN font is still not centered in all controls
Expected behavior
No response
Avalonia version
11.1.0
OS
No response
Additional context
No response
timunie commented
Please use 11.2 for testings or even better latest nightly. Also worth to check visual tree in DevTools F12 is there is any unexpected Margin or Padding.
susin3x commented
Hzlin7 commented
你用的字体可能不是最新的,可以去这下Region Specific Subset OTFs Simplified Chinese (简体中文),或者使用SourceHanSansSCLanguage Specific OTFs Simplified Chinese (简体中文),我在这下载的使用是没问题的。