[Tux4kids-tuxtype-dev] SDL_pango rendering problem (David Bruce)

David Bruce davidstuartbruce at gmail.com
Fri Aug 22 16:42:20 UTC 2008


Hi,

  It looks like my wrapper function "ConvertToUTF8()" in alphabet.c
>> doesn't work properly.  I found at least one problem in it but it
>> still isn't fixed.  It is not returning the correct UTF-8 string to be
>> drawn by print_at(), at least on my machine.
>>
>> (If this function is really broken, it's a little baffling how this
>> part ever worked correctly).
>>
>> >
>
>
> I dont have problems with that in my system seems to work properly. However
> I will check the code and try to find out what is wrong with it.
>

fwiw, the problem I found but didn't yet commit was a stray for( ; ; )
statement in the part to null-terminate the string, but even when I fixed
this it the function still didn't work.

Now that we have gettext and libiconv in place, maybe we could use iconv()
instead and get rid of the Convert* c and h files from Unicode.

Cheers,

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20080822/869e6868/attachment.htm 


More information about the Tux4kids-tuxtype-dev mailing list