]> git.eshelyaron.com Git - emacs.git/commit
New option for handling ZWNJ in Arabic text rendering
authorK. Handa <handa@gnu.org>
Sun, 8 Oct 2017 02:48:01 +0000 (11:48 +0900)
committerK. Handa <handa@gnu.org>
Sun, 8 Oct 2017 02:48:01 +0000 (11:48 +0900)
commit64baaff8c5f70b7d637ac37304c4377e955b3f09
tree54922ceb5d3b828685fb487656e495acac3b9518
parent7a1133f1ff002943ce32b5a05a7261bba520288c
New option for handling ZWNJ in Arabic text rendering

Provide a new option 'arabic-shaper-ZWNJ-handling' that controls how
to display ZWNJ in Arabic text rendering (Bug#28339).
* lisp/language/misc-lang.el: Register arabic-shape-gstring in
composition-function-table.
(arabic-shaper-ZWNJ-handling): New variable.
(arabic-shape-log): New variable.
(arabic-shape-gstring): New function.
* lisp/composite.el (lgstring-remove-glyph): New function.
etc/NEWS
lisp/composite.el
lisp/language/misc-lang.el