On Wed, Jan 12, 2000 at 10:56:04PM +0100, Cyrille Chepelov (home) wrote:
>
> I've got a problem. Are there here any X11 gurus to help me ?
>
> I noticed that dia's text object do not process correctly dead keys (eg,
> ^ + e --> �). That's really biting me each time I want to produce
> documents in my native language, for which there's no diacritic-less
> spelling variant.
>
> It seems the dead keys are seen in
> disp_callback.c/ddisplay_canvas_events() and then in
> text.c/text_key_event(), but not treated as such. Most gdk/gtk widgets
> work correctly wrt to dead keys, but there's no code at all in gtk-1.2.6's
> source which deals with that.
>
> Anyone has an idea ?
>
To support the dead key and multibyte language like CJK fully, dia should use
XIM. I made a rather hackish implementation for just hangul(korean character)
with the old dia version.
(It is abtained in http://www.kr.freebsd.org/~hwang/patch/dia.diff.gz)
I have plan to support the full implimentaion
including the OnTheSpot input style when I have the more time.