AvalonStudio icon indicating copy to clipboard operation
AvalonStudio copied to clipboard

Unable to display Chinese string

Open rakuten opened this issue 6 years ago • 8 comments
trafficstars

Version: 0.7.0 OS: Mac

rakuten avatar Sep 11 '19 13:09 rakuten

Can you post an example string?

What monospaced font would be suitable for displaying this?

danwalmsley avatar Sep 11 '19 13:09 danwalmsley

This is probably because of https://github.com/AvaloniaUI/Avalonia/issues/1925 I can confirm that forcing a Direct2D backend (AppBuilder.UseDirect2D1();) solved the problem for my projects (but this obviously only works on Windows).

Fusion86 avatar Sep 11 '19 21:09 Fusion86

I feeling the 0.6.2 seems is normal (I have been useless for a long time)

we use font for Tahoma or Microsoft YaHei,

rakuten avatar Sep 12 '19 00:09 rakuten

@rakuten are you compiling yourself?

Can you try changing: https://github.com/VitalElement/AvalonStudio.Shell/blob/b376f4e87d7c1a703adf3e7b8cf5a68ce37ec25e/src/AvalonStudio.Shell/Themes/BaseDark.xaml#L8

to

<FontFamily x:Key="EditorFont">Tahoma</FontFamily>

and tell me if it resolves your issue.

danwalmsley avatar Sep 12 '19 10:09 danwalmsley

@danwalmsley Thank you very much for your reply.

Unfortunately, no fix, I changed "Editor Font"(L8) and "UiFont"(L6), used "Tahoma" and "Microsoft YaHei", but the situation has not changed after recompiling

rakuten avatar Sep 12 '19 17:09 rakuten

这是个测试字符串...

This is a test string

rakuten avatar Sep 12 '19 17:09 rakuten

@rakuten thanks I will have a look into it

danwalmsley avatar Sep 15 '19 17:09 danwalmsley

@danwalmsley I found this problem also exists in Avalonia, probably not a problem with AvalonStudio.

rakuten avatar Sep 16 '19 05:09 rakuten