On Wed, 12 Feb 2003, Dekel Tsur wrote: > I still don't understand why some people claim that mirroring characters in > the keymap is wrong. > The alternative is that every Bidi toolkit (or an application that > has its own bidi implementation like OpenOffice) should have a code for > mirroring the necessary characters. It seems that this is worse than > mirroring the characters in the keymap, which means 0 lines of code in the > applications.
This also implies that such program/toolkit should be aware of the "language" of the keyboard: The X server translates the key presses to symbols. The application can then use keysyms and not really care about the keyboard layout of the user. It shouldn't. If the application is to handle mirroring, the application should check not only what is the keysym of the key that was just clicked, but also: * Which key exactly was it that was clicked * what was the "active layout" at thetime. OTOH: is it safe to assume that whenever your keyboard is in "Hebrew mode" you type RTL text? What about: - programs with no bidi support? - editing of mixed Hebrew-English text? BTW: the extended layouts (yx and si1452) also include the symbols LRM and RLM chars. They are supposed to allow typing of more complex mixed text. Which toolkits/programs currently support them? -- Tzafrir Cohen mailto:[EMAIL PROTECTED] http://www.technion.ac.il/~tzafrir ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
