W liście z wto, 08-07-2003, godz. 02:03, Mantas Kriaučiūnas pisze: 
> Hi,
> 
> I've tested a new version (0.9.11) on Linux and on Windows - it seems that tuxpaint 
> has big problems with locale and fonts and also it seems, that developers have 
> forgotten to do some things, which were discussed in previous letters - look at 
> http://tux4kids.net/pipermail/tuxpaint-dev/2003-April/000961.html and 
> http://tux4kids.net/pipermail/tuxpaint-dev/2003-March/000915.html
> 
> Would be great if these bugs were fixed ASAP:
> 
> 1. Lithuanian (and Polish) symbols are displayed uncorrectly in Windows and Linux :( 
> This worked correctly with CVS version after Bill added patches from Robert 
> Glowczynski (see tuxpaint-i18n mailing list). I've put screenshots of incorrectly 
> working 0.9.11 version and correctly working 0.9.10 version + some paches from CVS 
> on ftp://files.akl.lt/debian-linux/misc_packages/stable/games (see files 
> tuxpaint_0.9.11_bad.png and tuxpaint_0.9.10+CVS-good.png). Also there are correctly 
> working sources + diff file and debian packages for woody.
> I tried to play with different LANG, LC_ALL and LC_CTYPE settings, also with 
> tuxpaint.c but without any results - it seems the sources are changed too much - I'm 
> not SDL programmer and changes, added to support Right to Left are under my 
> knowlidge :(. If Bill is too busy, maybe Robert Glowczynski could help again ?
> 
It seems that attached patch fixes this.
RENDER_TEXT is defined as TTF_RenderText_Blended, I used
TTF_RenderUTF8_Blended to display chars. 

Did TTF_RenderUTF8_Blended cause problems with other languages?

bye,
Robert
--- tuxpaint.c.orig     2003-06-17 11:22:15.000000000 +0200
+++ tuxpaint.c  2003-07-08 19:27:31.000000000 +0200
@@ -216,8 +216,8 @@
 #define clamp(lo,value,hi)    (min(max(value,lo),hi))
 
 
-#define RENDER_TEXT TTF_RenderText_Blended
-
+/*#define RENDER_TEXT TTF_RenderText_Blended*/
+#define RENDER_TEXT TTF_RenderUTF8_Blended
 
 /* Possible languages: */
 

Reply via email to