Re: Bug#308194: #308194: tuxpaint: cannot type in russian

2006-02-03 Пенетрантность Alexandra N. Kossovsky
On Fri, Feb 03, 2006 at 02:55:23PM -0400, Ben Armstrong wrote:
 On Sat, 2006-01-21 at 18:15 +0300, Alexandra N. Kossovsky wrote:
  Tuxpaint does not support Unicode at all. Some Americans think that
  supporting unicode is supporting Latin-1 mapping to unicode. Such unicode
  support does not work for Russians, Greeks and many other people. :-(
 
 I am told that this is fixed in CVS.  However, I am puzzled by John's
 response:
 
 http://sourceforge.net/mailarchive/forum.php?thread_id=9527943forum_id=44504
 
 John appears to be saying that his version of SDL is required.  If that
 is so, I can't package it for Debian.  However, if a Russian user would
 like to try tuxpaint from CVS (see http://sf.net/projects/tuxpaint) to
 see if it is any better with the latest SDL in Debian, I would
 appreciate the help.

I've just tried CVS tuxpaint on the Sarge and Etch systems. I see the
behaviour changed. Every time I type a Russian letter, I see a new letter
on the screen, but it is not the Russian letter. It is ISO-8859-1 letter
corresponding to the first byte of the unicode value.

I guess CVS tuxpaint should break ISO-8859-1 (non-ascii) users as well, 
but I hope it is a step into the right direction :-)

-- 
Regards,
Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#308194: #308194: tuxpaint: cannot type in russian

2006-02-03 Пенетрантность Ben Armstrong
Alexandra,

Thanks for testing.

On Sat, 2006-02-04 at 00:17 +0300, Alexandra N. Kossovsky wrote:
 I've just tried CVS tuxpaint on the Sarge and Etch systems. I see the
 behaviour changed. Every time I type a Russian letter, I see a new letter
 on the screen, but it is not the Russian letter. It is ISO-8859-1 letter
 corresponding to the first byte of the unicode value.
 
 I guess CVS tuxpaint should break ISO-8859-1 (non-ascii) users as well, 
 but I hope it is a step into the right direction :-)

John got back to me about this on the tuxpaint-devel list and said the
following:

What version of SDL did you test this with? There is partial
Unicode
support on X with the SDL-1.2.9 release.

There was a problem with Tux Paint, and there is/was a problem
with SDL.

The SDL Windows backend is fixed in CVS:
https://bugzilla.libsdl.org/show_bug.cgi?id=39

The SDL X11 backend currently only has partial unicode support.
I'm
helping work on it:
https://bugzilla.libsdl.org/show_bug.cgi?id=130

Here is a picture of Tux Paint in Russian on X, with the above
patch
(although this should mostly work with the SDL 1.2.9 Release
version):
http://www.johnnypops.demon.co.uk/tp-russian.png

Does this look more like what we are after?

Any help testing would be great.

If you want a working text-tool you need Tux Paint from CVS, and
SDL
from CVS with the above patch (bug 130) if you are on X.

With help from Sam Lantinga (Mr. SDL), there is a good chance of
the
next release of SDL-1.2.X having all this working,



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#308194: #308194: tuxpaint: cannot type in russian

2006-02-03 Пенетрантность Alexandra N. Kossovsky
On Fri, Feb 03, 2006 at 11:39:19PM -0400, Ben Armstrong wrote:
 Here is a picture of Tux Paint in Russian on X, with the above
 patch
 (although this should mostly work with the SDL 1.2.9 Release
 version):
 http://www.johnnypops.demon.co.uk/tp-russian.png

 Does this look more like what we are after?

Yes, it these are very nice Russian letters. The only problem I see is
squares in the right manu, in place of some Aa.


-- 
Regards,
Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#308194: #308194: tuxpaint: cannot type in russian

2006-01-21 Пенетрантность Ben Armstrong
On Sat, 2006-01-21 at 18:15 +0300, Alexandra N. Kossovsky wrote:
 Tuxpaint does not support Unicode at all. Some Americans think that
 supporting unicode is supporting Latin-1 mapping to unicode. Such unicode
 support does not work for Russians, Greeks and many other people. :-(
 
 In tuxpaint.c, there is following code which is not unicode-ready:
 1.
 isprint(key_unicode): you should use iswprint() for wide chars.
 2.
 static char texttool_str[256];
 
 texttool_str[texttool_len++] = key_unicode;
 key_unicode may be more than 1 byte long, so it does not work.
 
 I'm afraid I can't help with a patch.
 Thank you for the program!

Thanks for the help.  I will work with upstream on implementing this.
When we are done, may I call upon this list for help with testing?

Regards,
Ben


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Bug#308194: #308194: tuxpaint: cannot type in russian

2006-01-21 Пенетрантность Alexandra N. Kossovsky
On Sat, Jan 21, 2006 at 02:08:59PM -0400, Ben Armstrong wrote:
 Thanks for the help.  I will work with upstream on implementing this.
 When we are done, may I call upon this list for help with testing?

I use tuxpaint with my 3-years old son, so it will be easy for me to 
test any patch.

-- 
Regards,
Sasha.
Alexandra N. Kossovsky, software engineer.
e-mail: [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]