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

Unable to display Chinese string #728

Open
rakuten opened this issue Sep 11, 2019 · 8 comments
Open

Unable to display Chinese string #728

rakuten opened this issue Sep 11, 2019 · 8 comments

Comments

@rakuten
Copy link

rakuten commented Sep 11, 2019

Version: 0.7.0
OS: Mac

@danwalmsley
Copy link
Contributor

danwalmsley commented Sep 11, 2019

Can you post an example string?

What monospaced font would be suitable for displaying this?

@Fusion86
Copy link

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

@rakuten
Copy link
Author

rakuten commented Sep 12, 2019

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,

@danwalmsley
Copy link
Contributor

@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.

@rakuten
Copy link
Author

rakuten commented Sep 12, 2019

@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
Copy link
Author

rakuten commented Sep 12, 2019

这是个测试字符串...

This is a test string

@danwalmsley
Copy link
Contributor

@rakuten thanks I will have a look into it

@rakuten
Copy link
Author

rakuten commented Sep 16, 2019

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

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

No branches or pull requests

3 participants