RE: Do you know why I cant be able to use tildes and accents
- From: "Maiorana, Jason" <jmaiorana idirect net>
- To: <dia-list gnome org>
- Subject: RE: Do you know why I cant be able to use tildes and accents
- Date: Fri, 26 Apr 2002 14:15:35 -0400
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))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]