]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix display of Hebrew text with precomposed characters
authorEli Zaretskii <eliz@gnu.org>
Thu, 13 Jun 2019 09:41:37 +0000 (12:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 13 Jun 2019 09:41:37 +0000 (12:41 +0300)
* lisp/language/hebrew.el (base): Include precomposed
Hebrew characters from the Alphabetic Presentation Forms in
the composition patterns.  (Bug#36171)

lisp/language/hebrew.el

index b493c291c24d33aa6e6e7f4401d0a5c2f88569c0..cda5765c7f65b44241d4045bf2afbfae16c1a1f5 100644 (file)
@@ -238,8 +238,9 @@ Bidirectional editing is supported.")))
             (setq idx (1+ idx)))))))
     gstring))
 
-(let* ((base "[\u05D0-\u05F2]")
-       (combining "[\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7]+")
+(let* ((base "[\u05D0-\u05F2\uFB1D\uFB1F-\uFB28\uFB2A-\uFB4F]")
+       (combining
+        "[\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\uFB1E]+")
        (pattern1 (concat base combining))
        (pattern2 (concat base "\u200D" combining)))
   (set-char-table-range