On Mon, May 17, 2004 at 08:23:35PM +0200, Karl Ove Hufthammer wrote: > But what's the point of this line: > > if (want_utf8) > text = TTF_RenderUTF8_Blended(font, substr, color); > else > text = TTF_RenderText_Blended(locale_font, substr, color); > > This writes the text as UTF-8 or ISO-8859-1, depending on the value of > want_utf8. But is TTF_RenderText_Blended ever used? >
Hrm, noone else has spoken up. Damn. :^) I'm a little rusty, so I'm not sure what's up here. One thing I notice is "locale_font" (which would be the TTF font used for languages which the 'standard' default font can't support; e.g., Chinese and Japanese). I'd have to examine the code more closely, but maybe "font" gets set to "locale_font" at some earlier point, now. I dunno. You can try commenting bits out and running in a variety of languages to see if anything breaks. ;) -bill! _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev
