Support for CJK font

Request new features or present your ideas.
Post Reply
zou285289134
Posts: 1
Joined: Thu Aug 11, 2022 11:43 pm UTC

Support for CJK font

Post by zou285289134 »

It seems that Daemon engine could support render CJK trurtype font, but the generated font atlas will be huge! I don't know if this is the problem. Is it difficult to add support for chinese font? :wink:
User avatar
killing time
Programmer
Posts: 126
Joined: Wed Jul 04, 2012 7:55 am UTC

Re: Support for CJK font

Post by killing time »

Note that Daemon's font rendering is only used for the console (the one opened by Shift+Escape). The font rendering in the game's UI is handled by the RmlUi framework.

Unvanquished should display any characters from the Unicode BMP out of the box, although some scripts might not look that great.
User avatar
freem
Programmer
Posts: 189
Joined: Mon Feb 11, 2013 1:02 pm UTC

Re: Support for CJK font

Post by freem »

In practice, the game already includes http://unifoundry.com/unifont/index.html but AFAIK there are no CJK users to report of any problems, so it's hard to know how much things work (or how much they break).
Post Reply