<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39702 >

On 9/13/07, Christian Prochaska <[EMAIL PROTECTED]> wrote:
>
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39702 >
>
> > [dmarks - Mi 12. Sep 2007, 23:46:48]:
> >
> > On 9/13/07, Daniel Markstedt <[EMAIL PROTECTED]> wrote:
> > >
> > > <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39702 >
> > >
> > > CJK stands for 'Chinese Japanese Korean' and is a family of fonts that
> > > contains all the Chinese ideographs plus Japanese and Korean letters.
> > > These fonts doesn't seem to work with the SDL client at all.
> > > Regardless of locale, all text is garbled beyond recognition and the
> > > client crashes almost instantly.
> > >
> > > I tried the fonts Sazanami, Kochi-substitute, and Fireflysung.
> > > Download links on this site: http://www.unifont.org/fontguide/ (click
> > > on East Asia.)
> > >
> > > Note that a pure Korean font (without any Chinese Characters) works
> > > fine. Am using UnDotum, available from above site. A pure Japanese
> > > font might work too, but would be quite useless since Japanese writing
> > > - unlike Korean - typically contains a large number of Chinese
> > > Characters.
> > >
> > > Tested on OSX and WinXP with beta4-beta6+.
> > >
> > >  ~Daniel
> > >
> >
> > backtrace from OSX/beta6+
> >
> >
>
> This turned out to be another bug in SDL_ttf:
>
> https://mail.gna.org/public/wesnoth-dev/2006-05/msg00085.html
>
> And it's fixed in Battle for Wesnoth, so I think we should just use
> their patched version of SDL_ttf instead of our current one. Patch attached.
>
>
>

Works beautifully!

So, with CJK fonts working, could we start distributing them in svn?
It would be neat if gui-sdl could detect what locale it ran in and
select a compatible font automatically. :)

 ~Daniel



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to