Please add font to support Chinese

Discuss the future of Warzone 2100 with us.
User avatar
Violin
Rookie
Rookie
Posts: 30
Joined: 20 Apr 2009, 06:28
Location: Wuhan, China

Please add font to support Chinese

Post by Violin »

Apparently the current version of Warzone 2100 cannot display Chinese characters, as well as many other Asian languages. Please change or add font, to make a real multilingual game.
Thank you.
谁言别后终无悔,
寒月清宵绮梦回。
深知身在情长在,
前尘不共彩云飞。
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Please add font to support Chinese

Post by Zarel »

I have a feeling this is a consequence of the font.conf changes.

We need [free] font that support every single language out there. Suggestions?
User avatar
Violin
Rookie
Rookie
Posts: 30
Joined: 20 Apr 2009, 06:28
Location: Wuhan, China

Re: Please add font to support Chinese

Post by Violin »

As for Chinese, Wen Quan Yi is good. http://wenq.org/enindex.cgi
谁言别后终无悔,
寒月清宵绮梦回。
深知身在情长在,
前尘不共彩云飞。
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Please add font to support Chinese

Post by Zarel »

What's its license?
Kaldera
Trained
Trained
Posts: 49
Joined: 20 Jun 2008, 22:04
Location: Germany

Re: Please add font to support Chinese

Post by Kaldera »

Comprehensive, and freeware for non-commercial use: bitstream cyberbit 29934 chars
More comprehensive, but shareware: code2000 more than 60k chars
Similar comprehensive, but not free (part of MS Office): Arial Unicode MS more than 50k chars

There are many Unicode fonts out there, but mostly only partial...

Will spend 5 Euros if code2000 comes with warzone :)
Maybe there will be an agreement?

Complete list of all 98884 unicode chars can be found here: http://www.decodeunicode.org/
Many fonts: http://www.alanwood.net/unicode/fonts.html
Last edited by Kaldera on 11 May 2009, 18:54, edited 2 times in total.
Windows 7 RC / Athlon 64 X2 / NVIDIA GeForce 8600 GT
Thyranim
Trained
Trained
Posts: 190
Joined: 20 Dec 2008, 16:35
Location: Germany

Re: Please add font to support Chinese

Post by Thyranim »

i took a look on the sf-site, perhaps it's what you're asking for?
The aim of this project to provide open-source communities with the most complete, standard compliant, high-quality Chinese (CJK) fonts and resources. Outline and bitmap fonts at various sizes/styles will be developed and freely available to users.
SF
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Please add font to support Chinese

Post by Zarel »

Kaldera wrote:Comprehensive, and freeware for non-commercial use: bitstream cyberbit 29934 chars
Not good enough. Warzone is GPL; we can only include fonts that are GPL-compatible (free for any use, share-alike)

Imagine if we used that font - then corporations could not play Warzone! :( Licensing is important.
User avatar
Violin
Rookie
Rookie
Posts: 30
Joined: 20 Apr 2009, 06:28
Location: Wuhan, China

Re: Please add font to support Chinese

Post by Violin »

I highly recommend WenQuanYi Zen Hei for Chinese. It's licensed under GPLv2. It has been chosen as the default Chinese font by Ubuntu, Fedora, Slackware, MagicLinux and CDLinux.
http://wenq.org/enindex.cgi?ZenHei(en)
谁言别后终无悔,
寒月清宵绮梦回。
深知身在情长在,
前尘不共彩云飞。
Kaldera
Trained
Trained
Posts: 49
Joined: 20 Jun 2008, 22:04
Location: Germany

Re: Please add font to support Chinese

Post by Kaldera »

Zarel wrote:Kaldera wrote: "Comprehensive, and freeware for non-commercial use: bitstream cyberbit 29934 chars"
Not good enough. Warzone is GPL; we can only include fonts that are GPL-compatible (free for any use, share-alike)

Imagine if we used that font - then corporations could not play Warzone! :( Licensing is important.
Sorry, but commercial use means to sell the game/parts of the game, use parts in other sold software, not to play in an corporational environment.
I am pretty sure, that playing the game has no commercial value.

So for every languagesystem an own font file?
Maybe an ingame option to choose the preferred font is a better solution. Chinese OS's should have some fonts to show the signs.

Violin, have you tried to change the font as described here: viewtopic.php?f=4&t=2989 ?
Windows 7 RC / Athlon 64 X2 / NVIDIA GeForce 8600 GT
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Please add font to support Chinese

Post by Zarel »

Kaldera wrote:Sorry, but commercial use means to sell the game/parts of the game, use parts in other sold software, not to play in an corporational environment.
I am pretty sure, that playing the game has no commercial value.
Either way, under the GPL, it's currently legal to sell the game. We don't want to make it illegal just because one of our fonts says so.
Kaldera wrote:So for every languagesystem an own font file?
Maybe an ingame option to choose the preferred font is a better solution. Chinese OS's should have some fonts to show the signs.

Violin, have you tried to change the font as described here: viewtopic.php?f=4&t=2989 ?
Nah, a Unicode font with every single character would be preferable. The biggest problem is that, afaik, they're all proprietary. Until then, for Chinese, we can just use WenQuanYi Zen Hei, since it's GPLv2.
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Please add font to support Chinese

Post by cybersphinx »

Kaldera wrote:Sorry, but commercial use means to sell the game/parts of the game,
"Commercial use" in the context of the GPL means mainly "include in a distribution that also sells on media". Which was also the reason not to include artwork under CC-NC licenses.
Zarel wrote:Nah, a Unicode font with every single character would be preferable.
But unlikely to happen (see http://www.unifont.org/fontguide/ for a list of free fonts, and under "Pan-Unicode Fonts" an explanation). I guess the "current" way works quite nice, add translations, and add a font if people complain about missing characters.
User avatar
Violin
Rookie
Rookie
Posts: 30
Joined: 20 Apr 2009, 06:28
Location: Wuhan, China

Re: Please add font to support Chinese

Post by Violin »

Zarel, you can check GNU Unifont.
http://unifoundry.com/unifont.html
Currently its Chinese part is actually WenQuanYi.
谁言别后终无悔,
寒月清宵绮梦回。
深知身在情长在,
前尘不共彩云飞。
cybersphinx
Inactive
Inactive
Posts: 1695
Joined: 01 Sep 2006, 19:17

Re: Please add font to support Chinese

Post by cybersphinx »

Violin wrote:Zarel, you can check GNU Unifont.
Which has great coverage, but is a 8x16/16x16 monospace bitmap font ("Pixels are drawn as outlined squares, so they scale to all point sizes").
User avatar
Violin
Rookie
Rookie
Posts: 30
Joined: 20 Apr 2009, 06:28
Location: Wuhan, China

Re: Please add font to support Chinese

Post by Violin »

I agree with cybersphinx. I think currently one single font doesn't look good for all languages. Déjà Vu is beautiful for English. I don't want it to be messed up. We just add some other font, and configure font substitution.
谁言别后终无悔,
寒月清宵绮梦回。
深知身在情长在,
前尘不共彩云飞。
Kaldera
Trained
Trained
Posts: 49
Joined: 20 Jun 2008, 22:04
Location: Germany

Re: Please add font to support Chinese

Post by Kaldera »

Kaldera wrote:Maybe an ingame option to choose the preferred font is a better solution. Chinese OS's should have some fonts to show the signs.
Any comments to this?
Windows 7 RC / Athlon 64 X2 / NVIDIA GeForce 8600 GT