Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread John Levon
On Fri, Dec 20, 2002 at 01:49:27AM +0100, Kornel Benko wrote: > Good. Your patch in "Re: [PATCH] Multiple encodings in Qt" seems to > be the solution. At long long long last :) john -- "ALL television is children's television." - Richard Adler

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Freitag, 20. Dezember 2002 01:30, John Levon wrote: > > Are you able to use the keysym? It seem not to be locale-dependent. > > No. And it's the "wrong thing" to do. > Good. Your patch in "Re: [PATCH] Multiple encodings in Qt" seems to be the solution.

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread John Levon
On Fri, Dec 20, 2002 at 01:28:48AM +0100, Kornel Benko wrote: > I beg your pardon? It is serbian language, using iso8859-5 encoding ... if that was >the question ... That was. > Are you able to use the keysym? It seem not to be locale-dependent. No. And it's the "wrong thing" to do. If the l

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Freitag, 20. Dezember 2002 01:14, John Levon wrote: > On Fri, Dec 20, 2002 at 01:05:53AM +0100, Kornel Benko wrote: ... > > As I can see here, XLookupString gives Cyrillic_ES, while keysym declares > > Cyrillic_a to be pressed. Maybe someone can enlighten me?

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread John Levon
On Fri, Dec 20, 2002 at 01:05:53AM +0100, Kornel Benko wrote: > No, I am not sure. Don't know, what happens here. > > KeyPress event, serial 27, synthetic NO, window 0x301, >root 0x3a, subw 0x0, time 12042385, (33,69), root:(37,89), >state 0x2010, keycode 38 (keysym 0x6c

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Donnerstag, 19. Dezember 2002 22:25, John Levon wrote: > On Thu, Dec 19, 2002 at 09:45:13PM +0100, Kornel Benko wrote: > > Empty kbd action (probably composing) > > repainting 75,21 7,22 > > Press key 65535 text "Á", ascii "193" > > Can you add a d

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread John Levon
On Thu, Dec 19, 2002 at 09:45:13PM +0100, Kornel Benko wrote: > Empty kbd action (probably composing) > repainting 75,21 7,22 > Press key 65535 text "Á", ascii "193" Can you add a debug check to print out like : lyxerr << QTextCodec::codecForLocale()->name()) >

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Donnerstag, 19. Dezember 2002 21:13, John Levon wrote: > On Thu, Dec 19, 2002 at 03:50:47PM +0100, Kornel Benko wrote: > > With this patch I can no longer insert russian chars. > > (I _am_ entering some cyrillic chars, but not the wanted ones. > > E.g. enterin

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread John Levon
On Thu, Dec 19, 2002 at 03:50:47PM +0100, Kornel Benko wrote: > With this patch I can no longer insert russian chars. > (I _am_ entering some cyrillic chars, but not the wanted ones. > E.g. entering Cyrillic_a (according `xev`) I get Cyrillic_TSE displayed.) how curious. -dbg key ? what was your

Re: [PATCH][CFT] Multiple encodings in Qt LyX

2002-12-19 Thread Kornel Benko
-BEGIN PGP SIGNED MESSAGE- On Donnerstag, 19. Dezember 2002 06:36, John Levon wrote: > Below is a proof-of-concept for getting multiple encodings in a LyX > document to work. As before it still relies on the user setting a > suitable language for the text in the different encoding. > > It

[PATCH][CFT] Multiple encodings in Qt LyX

2002-12-18 Thread John Levon
Below is a proof-of-concept for getting multiple encodings in a LyX document to work. As before it still relies on the user setting a suitable language for the text in the different encoding. It seems to work for me though it's difficult to test due to what I think is in fact a Red Hat bug. Ple