Reputation: 157
The program I compiled cannot display Chinese characters normally on my friend's computer (it can be displayed normally on my Win10 and Deepin Linux), is there any font missing? What fonts need to be installed on the computer?
Upvotes: 0
Views: 817
Reputation: 3623
As of Avalonia version 0.9.x you need to explicitly set the font that has the Chinese glyphs, since 0.9.x doesn't support font fallback chains for resolving missing glyphs in the current font. The most stable solution would be to ship such font with the application and use it from resources like this.
Proper Unicode support is coming to 0.10 which should be available this summer. For now you can try using the nightly builds and see if it works for you.
Upvotes: 1