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

Does text support other language? #288

Closed
yayachang opened this issue Sep 15, 2020 · 3 comments
Closed

Does text support other language? #288

yayachang opened this issue Sep 15, 2020 · 3 comments
Labels

Comments

@yayachang
Copy link

I use Chinese or Japanese word

text = "謝謝" or
text = "ありがとうございました" in code.
But it can't display

Any method to display them?

@soywiz
Copy link
Member

soywiz commented Sep 15, 2020

It should, but maybe something is missing. How are you trying to display the text? Are you using a TTF font, or a Bitmap Font? The default embedded font only have latin-1 characters

@soywiz soywiz added the check label Sep 15, 2020
@yayachang
Copy link
Author

Thanks for your reply.
I try Chinese TTF font and it works!

@soywiz
Copy link
Member

soywiz commented Sep 18, 2020

Nice to know. I guess unicode 16-bits 0000-FFFF should work. That should include all the characters available in chinese and japanese, but won't include extended characters like emoji.
Closing the issue, feel free to reopen if required

@soywiz soywiz closed this as completed Sep 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants