aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEli Zaretskii2019-06-13 12:41:37 +0300
committerEli Zaretskii2019-06-13 12:41:37 +0300
commit2f4b4c8571d61892ab03015147b9665d32bfc0c7 (patch)
tree282d2df312bb61599d936d8e7168d1dd8689f8d6 /lisp
parent52305bcb5140355b8405f4ad9aca95eee9bf2b97 (diff)
downloademacs-2f4b4c8571d61892ab03015147b9665d32bfc0c7.tar.gz
emacs-2f4b4c8571d61892ab03015147b9665d32bfc0c7.zip
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)
Diffstat (limited to 'lisp')
-rw-r--r--lisp/language/hebrew.el5
1 files 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.")))
238 (setq idx (1+ idx))))))) 238 (setq idx (1+ idx)))))))
239 gstring)) 239 gstring))
240 240
241(let* ((base "[\u05D0-\u05F2]") 241(let* ((base "[\u05D0-\u05F2\uFB1D\uFB1F-\uFB28\uFB2A-\uFB4F]")
242 (combining "[\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7]+") 242 (combining
243 "[\u0591-\u05BD\u05BF\u05C1-\u05C2\u05C4-\u05C5\u05C7\uFB1E]+")
243 (pattern1 (concat base combining)) 244 (pattern1 (concat base combining))
244 (pattern2 (concat base "\u200D" combining))) 245 (pattern2 (concat base "\u200D" combining)))
245 (set-char-table-range 246 (set-char-table-range