mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix Arabic composition rules
* lisp/language/misc-lang.el (composition-function-table): Reorder Arabic composition rules in descending order of lookback. * src/composite.c (syms_of_composite): Document the order of rules in 'composition-function-table'.
This commit is contained in:
parent
9afcf2bd39
commit
22b2e9c901
2 changed files with 6 additions and 5 deletions
|
|
@ -136,10 +136,10 @@ thin (i.e. 1-dot width) space."
|
|||
(set-char-table-range
|
||||
composition-function-table
|
||||
'(#x600 . #x74F)
|
||||
(list (vector "[\u0600-\u074F\u200C\u200D]+" 0
|
||||
'arabic-shape-gstring)
|
||||
(vector "[\u200C\u200D][\u0600-\u074F\u200C\u200D]+" 1
|
||||
'arabic-shape-gstring)))
|
||||
(list (vector "[\u200C\u200D][\u0600-\u074F\u200C\u200D]+"
|
||||
1 'arabic-shape-gstring)
|
||||
(vector "[\u0600-\u074F\u200C\u200D]+"
|
||||
0 'arabic-shape-gstring)))
|
||||
|
||||
(provide 'misc-lang)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue