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

sreyas k k.sreyas at gmail.com
Fri Aug 22 12:41:37 UTC 2008


Hi,


> > I see your changes - however the Lessons and Practice activities still
> > aren't drawing correctly on my machine.  Basically the text to be
> > typed doesn't get displayed, except that inconsistently a single
> > character gets drawn. This happens both windowed and fullscreen.
>
> 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).
>
> > 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.
> >
>
> I can't for the life of me figure out why "ConvertToUTF8()" in
> alphabet.c is not providing the correct UTF8 string.  The syntax of
> the call to the underlying "ConvertUTF32toUTF8()" (which was written
> by Unicode, Inc. for free use) is complex, but I think I have it right
> - or at least can't find where I have it wrong.  I would think that
> the underlying function works correctly, but maybe it has a bug.
>
> If anyone can figure out what is wrong, I would be greatly appreciative.
>
> David
>

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.

Thanks,
Sreyas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/tux4kids-tuxtype-dev/attachments/20080822/7379cac9/attachment.htm 


More information about the Tux4kids-tuxtype-dev mailing list