mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-19 02:10:10 +00:00
Fix shaping of Sinhala text
* lisp/language/sinhala.el (composition-function-table): Allow U+200D U+0DCA as well as U+0DCA U+200D between consonants. Suggested by Richard Wordingham <richard.wordingham@ntlworld.com>. (Bug#67828)
This commit is contained in:
parent
efcbf0b5ab
commit
791cc5065d
1 changed files with 3 additions and 3 deletions
|
@ -36,11 +36,11 @@
|
||||||
composition-function-table
|
composition-function-table
|
||||||
'(#xD80 . #xDFF)
|
'(#xD80 . #xDFF)
|
||||||
(list (vector
|
(list (vector
|
||||||
;; C:consonant, H:HALANT, J:ZWJ, v:vowel sign,
|
;; C:consonant, H:HALANTA, J:ZWJ, v:vowel sign,
|
||||||
;; V:independent vowel, a:ANUSVARA .. VISARGA
|
;; V:independent vowel, a:ANUSVARA .. VISARGA
|
||||||
(concat
|
(concat
|
||||||
;; C(HJC)*v*H?a?, or
|
;; C(HJ|JH)C)*v*H?a?, or
|
||||||
"[\u0D9A-\u0DC6]\\(?:\u0DCA\u200D[\u0D9A-\u0DC6]\\)*[\u0DCF-\u0DDF\u0DF2-\u0DF3]*\u0DCA?[\u0D82-\u0D83]?\\|"
|
"[\u0D9A-\u0DC6]\\(?:\\(\u0DCA\u200D\\|\u200D\u0DCA\\)[\u0D9A-\u0DC6]\\)*[\u0DCF-\u0DDF\u0DF2-\u0DF3]*\u0DCA?[\u0D82-\u0D83]?\\|"
|
||||||
;; Va?, or
|
;; Va?, or
|
||||||
"[\u0D85-\u0D96][\u0D82-\u0D83]?\\|"
|
"[\u0D85-\u0D96][\u0D82-\u0D83]?\\|"
|
||||||
;; any other singleton characters
|
;; any other singleton characters
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue