Re: XIM, bug #435


Subject: Re: XIM, bug #435
From: Petr Tesarik (tesarik@lupa.cz)
Date: Wed May 31 2000 - 14:02:08 CDT


Dne Wed, May 31, 2000 at 08:54:59PM +0200, Petr Tesarik napsal(a):
> Dne Wed, May 31, 2000 at 09:50:08PM +1000, Martin Sevior napsal(a):
> >
> > On Wed, 31 May 2000, Aaron Lehmann wrote:
> >
> > There is a lot of interest in getting XIM in. Unfortunately I can't
> > personally test it because I don't have XIM and I have no idea how to
> > test it. If hj is not around anymore can you test it Aaron? If
> > you think it is OK I will commit it.
> >
> > The patch is located at:
> >
> > http://www.abisource.com/mailinglists/abiword-dev/00/April/0110.html
>
> I looked on it - why are we duplicating Xlib's work in X11ToUnicode()?
> Although currently GDK uses XmbLookupString(), not XwcLookupString(),
> which would return Unicode string directly, we can use mbstowcs() to
> do the task for us. I tested it a bit and it seems to return just
> about the same Unicode characters as the X11ToUnicode() does. Anyone
> sees why we can't simplify our lives?

OBTW I forgot to mention that a single KeyPress event can generate
more than one Unicode characters with XIM, even though I don't know if
there is an input method that actually does that.

bye,

-- 
Petr Tesarik
Tel: +420 602 575294            http://www.lupa.cz/



This archive was generated by hypermail 2b25 : Wed May 31 2000 - 14:02:11 CDT