[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bidi and shaping problems in describe-input-method

From: Mohsen BANAN
Subject: Re: bidi and shaping problems in describe-input-method
Date: Wed, 07 Mar 2012 13:32:07 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>>>>> On Wed, 07 Mar 2012 06:05:19 +0200, Eli Zaretskii <address@hidden> said:
  >> From: Mohsen BANAN <address@hidden>

  Mohsen> In the case of 'arabic note how the entire
  Mohsen> keyboard is flipped to the right.

  Eli> That's easy to fix.

Great! Thanks for having taken care of that.

  Mohsen> The second problem is shaping related:
  Mohsen> Inside of a cell on the keyboard layout, when
  Mohsen> there are two characters that can be joined, they
  Mohsen> are joined -- be default. They should not be.

  Eli> How can one know when they should be joined and when not?

I think the simple answer is: always isolated -- never joined.

For Persian and Arabic I am sure that they should
never be joined -- always isolated. 

For other shaped languages, it is hard to imagine
an input method designer would ever want them joined.

For non-shaped languages (e.g., latin keyboards)
the insertion of an zero width non-joiner between
lower and upper case is harmless and invisible.

So, the simplest fix (and perhaps
the-right-thing-to-do) is to ALWAYS insert a
(ucs-insert 8204)‌ -- zero width non-joiner --
between the two characters in each and every
keyboard cell.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]