Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / How to make editbox support Chinese characters?

Author
Message
luxuluxu
2
Years of Service
User Offline
Joined: 12th Mar 2022
Location:
Posted: 15th Mar 2022 18:39 Edited at: 15th Mar 2022 20:00
How to make editbox support input Chinese characters?
If use "SetEditBoxExtendedFontImage", may need to set 3000-6000 characters, it is too difficult, is there an easier way?
Or can the input of Chinese long strings be implemented in "tier 2"?
adambiser
AGK Developer
9
Years of Service
User Offline
Joined: 16th Sep 2015
Location: US
Posted: 18th Mar 2022 19:56
Are you able to use a regular font (SetEditBoxFont) rather than an extended font image?
luxuluxu
2
Years of Service
User Offline
Joined: 12th Mar 2022
Location:
Posted: 22nd Mar 2022 07:18
Thanks, it's resolved.
Some ttf can not be displayed normally, some ttf can be displayed normally.

There is another problem, editbox under WINDOWS system can only input one utf8 character at a time, not more than one.

Login to post a reply

Server time is: 2024-11-23 08:19:14
Your offset time is: 2024-11-23 08:19:14