From 2f4b4c8571d61892ab03015147b9665d32bfc0c7 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Thu, 13 Jun 2019 12:41:37 +0300 Subject: [PATCH] Fix display of Hebrew text with precomposed characters * lisp/language/hebrew.el (base): Include precomposed Hebrew characters from the Alphabetic Presentation Forms in the composition patterns. (Bug#36171) --- lisp/language/hebrew.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lisp/language/hebrew.el b/lisp/language/hebrew.el index b493c291c24..cda5765c7f6 100644 --- a/lisp/language/hebrew.el +++ b/lisp/language/hebrew.el @@ -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 -- 2.39.5