Here's a patch that implements a simple Arabic shaper in xterm.  You can
use it with fonts with the arabic presentation forms in them (e.g 10x20u)

Known bugs :

  * no bidi
  * no Lam-Alef ligature
  * it doesn't reshape characters next to the one it just drew (or erased
    or whatever...)  Refreshing the display always makes it work.
  * no support for ZWNJ
  * it dies when not in UTF-8 mode

I'm waiting on licencing clearing for the shaping table, so until then the
patch is probably LGPLed.

-- 
Robert

xterm-arabic-12.diff.gz

Reply via email to