On Friday 17 September 2004 20:55, John Popplewell wrote: >On Friday 17 September 2004 17:10, Muguntharaj wrote: >>Dear all, >>I tested test build for tamil translation (under WinXP OS ). >> >>Here is what i did: >>1. I changed the locale to tamil using tuxpaint-config.exe >>2. then lanched the tux paint. >>the i find the font is not set for tamil. I could see only junk characters. > >I get the same thing, and on Linux, using 'tuxpaint --lang=tamil' I'm just >getting: 'Fatal signal: Segmentation Fault (SDL Parachute Deployed)' > OK, I've checked in a fix for this. It is a bug in the win32 code related to the change from using LANG->LANGUAGE in the putenv() calls in the langstr parser.
This fixes Tamil, but Chinese is still broken (on Linux also) because the lang_prefixes[NUM_LANG] for Chinese have been changed from zh to zh_cn and zh_tw which f*cks up the need_own_font() font loading code (it creates the filename of the .ttf font from these prefixes). On Linux, creating a couple of symbolic links 'zh_cn.ttf' and 'zh_tw.ttf' to the single 'zh.ttf' file provides a simple and elegant solution, tragically, MS Windows 95/98/ME can't do that :-) How about: *try* loading: 'data/fonts/locale/zh_cn.ttf' or 'data/fonts/locale/zh_tw.ttf' but if that fails, fall back to loading: 'data/fonts/locale/zh.ttf' (by dropping the '_xx') In fact I'm going to implement that and check it in! >Hmmm. Using Linux: >Afrikaans, Hungarian, Breton, Klingon, don't seem to be translated. > >Whilst Greek, Hebrew, Hindi, Japanese, Korean and Chinese do the same as >Tamil, but these languages need an extra font. > >Does Tamil need an extra font? > >Ah! yes it does, have a look here for the Tamil font down at the bottom of > the page: http://www.newbreedsoftware.com/tuxpaint/download/fonts/ > >It isn't packaged for Windows (I will make one) but it should work if you >unpack the '.ttf' file into the 'data/fonts' directory. > I've prepared installer packages for the ones currently missing: Hebrew, Hindi, Tamil, Vietnamese. I'll send them to bill now, cheers, John. >I'm off-out now (Friday night) so I'll 'can -rc2, > >cheers, >John. > >>Can this be rectified before the final release ? >> >>Regards, >>Mugunth >> >>John Popplewell wrote: >>>On Friday 17 September 2004 15:23, Karl Ove Hufthammer wrote: >>>>John Popplewell <[EMAIL PROTECTED]> wrote in >>>> >>>>news:[EMAIL PROTECTED]: >>>>>If nothing else is reported in the next few hours, I'll make >>>>>an -rc2, >>>> >>>>Please do a 'cvs update' before doing so, since I've fixed a small >>>>bug in the Norwegian translation. >>> >>>Got it, thanks. >>>_______________________________________________ >>>Tuxpaint-dev mailing list >>>[EMAIL PROTECTED] >>>http://tux4kids.net/mailman/listinfo/tuxpaint-dev >> >>_______________________________________________ >>Tuxpaint-dev mailing list >>[EMAIL PROTECTED] >>http://tux4kids.net/mailman/listinfo/tuxpaint-dev > >_______________________________________________ >Tuxpaint-dev mailing list >[EMAIL PROTECTED] >http://tux4kids.net/mailman/listinfo/tuxpaint-dev _______________________________________________ Tuxpaint-dev mailing list [EMAIL PROTECTED] http://tux4kids.net/mailman/listinfo/tuxpaint-dev
