Open kingofoz opened 8 years ago
Could you please provide some steps (or better sample code) to reproduce this, given that I don't know how to input Japanese? Nimx text rendering is designed to work with UTF8 strings.
Related to #20?
Not sure if this issue is relevant with #20. #20 is tied with win10. Anyway, please change label.text = "Hello, world!" to label.text = "你好" in the demo code, you should reproduce the issue.
@kingofoz, ok, the problem is that Arial.ttf
which is used by default as system font on windows (the defaults are hard-coded in font.nim
) does not support unicode characters. Currently I don't see a good solution to this problem. We could use some other ttf
file that supports more languages (e.g. on macos there's Arial Unicode.ttf
) but I can see no such option in windows. Can you suggest anything?
Now that I think of it, we should probably utilize platform native api to generate glyphs and that should do the trick.
How about including
https://github.com/googlei18n/noto-fonts
which aims to "provide a beautiful reading experience for all languages" ?
Hi @yglukhov Any updates to this issue?
Seems Japanese menu cannot be displayed, do we support that?