Problem Opening Chinese Font in SDL_ttf

A user of my program is trying to make a Chinese translation. However, when
TTF_LoadFont() is called on the font he is using, it hangs.

The font is available at ftp://cle.linux.org.tw/pub/fonts/wangnew/wt002.ttf

Any help would be appreciated.

David White
Lead Programmer
Battle for Wesnoth (http://www.wesnoth.org)

I am the translator for Tradition Chinese of Battle of Wesnoth.
I find some Tradition Chinese font file (for Big5 codec). But the program failed load the font file.
Does the SDL_ttf library accept the two bits character set?

I search at google but it does not have any useful answer for it.

It should. Tux Paint uses it (http://www.newbreedsoftware.com/tuxpaint/).
SDL_ttf manual has function calls for Unicode and UTF-8 text - use them.

-MarkOn Wed, 21 Apr 2004 neversay at plsm.cs.nccu.edu.tw wrote:

I am the translator for Tradition Chinese of Battle of Wesnoth. I find
some Tradition Chinese font file (for Big5 codec). But the program
failed load the font file. Does the SDL_ttf library accept the two bits
character set?

I search at google but it does not have any useful answer for it.

ā€“
Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.jsp?id=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE
PGP key available on the homepage

Iā€™m sorry, please ignore these duplicated messages. I found the problem and
am resolving it.

David> ----- Original Message -----

From: sdl@cbreak.org (Mark K. Kim)
To:
Sent: Tuesday, April 20, 2004 1:54 PM
Subject: Re: [SDL] Problem Opening Chinese Font in SDL_ttf

It should. Tux Paint uses it (http://www.newbreedsoftware.com/tuxpaint/).
SDL_ttf manual has function calls for Unicode and UTF-8 text - use them.

-Mark

On Wed, 21 Apr 2004 neversay at plsm.cs.nccu.edu.tw wrote:

I am the translator for Tradition Chinese of Battle of Wesnoth. I find
some Tradition Chinese font file (for Big5 codec). But the program
failed load the font file. Does the SDL_ttf library accept the two bits
character set?

I search at google but it does not have any useful answer for it.

ā€“
Mark K. Kim
AIM: markus kimius
Homepage: http://www.cbreak.org/
Xanga: http://www.xanga.com/vindaci
Friendster: http://www.friendster.com/user.jsp?id=13046
PGP key fingerprint: 7324 BACA 53AD E504 A76E 5167 6822 94F0 F298 5DCE
PGP key available on the homepage


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl