I don't know if it helps but I have to tell you and Lars that I am able to get the correct glyphs from different GTK apps like gedit and the gnome Env itself, so it seems to be more a problem of the widget used in DIA. I'm wright? Leo.
-----Mensaje original-----
De: Maiorana, Jason [SMTP:jmaiorana@idirect.net]
Enviado el: viernes 26 de abril de 2002 15:16
Para: dia-list@gnome.org
Asunto: RE: Do you know why I cant be able to use tildes and accents
>I have no idea how to do non-ascii input[1], much less how to handle it
in
>a program. For characters typed directly from the keyboard, I think it
>should work (any confirmation), but we don't handle multi-key input.
there are things such as XIM, etc, which are supposed to handle this at the Xserver level. Also you can run daemons which intercept and rewrite keystrokes. Here are some references if anyone is interested:
http://www.pango.org/input-resources.shtml
http://www.mozilla.org/projects/intl/input-method-spec.html
the mozilla page seems to imply significant XIM integration within the application itself, which looks modestly complex.
from an application writers POV, it would be nice if each keystroke
was a simple 31bit UCS-4 number, but to support certain laguages, such as those requiring bidirectional text, complex glyph-substitution, etc (such as in japanese where a small kana is positioned differently depending upon whether you are outputting in vertical or horizontal mode), Any high-level user interface implementor will end up dealing with these issues at some point.
(a massive standardization on utf-8 would help get things started, but even that seems far away for most UI apps) Input-Method support could be written into common text-widgets, which would then help simplify things for the app-writer, so this may be more of a GTK issue. (preferable on-the-spot style)
Even XFree86 needs some changes: it is currently limited to 16bit characters in fonts, and has no notion of the code-ranges for certain languages. (for vietnamese to print out correctly i had to tell my x-server that a given font implemented the entire iso10646-1 unicode range (which of course it does not))
_______________________________________________
Dia-list mailing list
Dia-list@gnome.org
http://mail.gnome.org/mailman/listinfo/dia-list