system
1
system
4
|
|
|
|
Reply From: |
volzhs |
You need a font file which contains Chinese characters.
For RichTextLabel
- Import > Font
- Select font file which has Chinese character at Source Font.
- Choose destination folder at Dest Resource.
- Choose Character Set > Mode > Unicode
- Load imported font file at RichTextLabel > Custom Fonts > Normal Font
For GDScript
1~4. do same 1~4 as above
5. Settings > Editor Settings > Global > Font
6. Load imported font
7. Restart editor
OK, I can enter Chinese, thank you~
select best answer if all problems are solved.
volzhs | 2016-04-28 03:47
Will the fonts be deployed with the application in the export?
Gokudomatic2 | 2016-04-28 07:26
Yes, if it’s located anywhere under res://
volzhs | 2016-04-28 07:31
Thanks. Do you know if it installs the font or if the application loads it independently from the system? Yet I guess the later case is more probable.
Gokudomatic2 | 2016-04-28 07:38
We call it as Font, but it’s actually image (texture).
Godot imports font as a image, and use it on runtime.
So, it’s the later case.
volzhs | 2016-04-28 07:42
Sorry, I can’t input chinese, I’m debian user.
When I paste up text, it show you “\u5982\u4f55\u770b\u5f85\u9aa8\u\u5982\u4f55\u770b\u5f85\u9aa8\u9abc\u52a8\u753b\u7f16\u8f91\u5668”.