diff options
| author | Eli Zaretskii | 2020-10-23 17:23:23 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-10-23 17:23:23 +0300 |
| commit | d21cdb6c056453d4e4ef8a3a1f27d8bc203c09ea (patch) | |
| tree | d218c7255fdf38125f43caed29101f616ad3a857 | |
| parent | 4a92e2f95e80787f0eaa6ba7392641b6020dd5cd (diff) | |
| download | emacs-d21cdb6c056453d4e4ef8a3a1f27d8bc203c09ea.tar.gz emacs-d21cdb6c056453d4e4ef8a3a1f27d8bc203c09ea.zip | |
Set up composition-function-table for Egyptian
* lisp/language/misc-lang.el (composition-function-table): Set up
for Egyptian Hieroglyphs.
| -rw-r--r-- | lisp/language/misc-lang.el | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/language/misc-lang.el b/lisp/language/misc-lang.el index e3a24c41536..3f45f70c45e 100644 --- a/lisp/language/misc-lang.el +++ b/lisp/language/misc-lang.el | |||
| @@ -141,6 +141,20 @@ thin (i.e. 1-dot width) space." | |||
| 141 | (vector "[\u0600-\u074F\u200C\u200D]+" | 141 | (vector "[\u0600-\u074F\u200C\u200D]+" |
| 142 | 0 'arabic-shape-gstring))) | 142 | 0 'arabic-shape-gstring))) |
| 143 | 143 | ||
| 144 | ;; The Egyptian Hieroglyph Format Controls were introduced in Unicode | ||
| 145 | ;; Standard v12.0. Apparently, they are not yet well supported in | ||
| 146 | ;; existing fonts, as of late 2020. But there's no reason for us not | ||
| 147 | ;; to be ready for when they will be! | ||
| 148 | ;; The below is needed to support the arrangement of the Egyptian | ||
| 149 | ;; Hieroglyphs in "quadrats", as directed by the format controls, | ||
| 150 | ;; which specify how the hieroglyphs should be joined horizontally and | ||
| 151 | ;; vertically. | ||
| 152 | (set-char-table-range | ||
| 153 | composition-function-table | ||
| 154 | '(#x13000 . #x1343F) | ||
| 155 | (list (vector "[\U00013000-\U0001343F]+" | ||
| 156 | 0 'compose-gstring-for-graphic))) | ||
| 157 | |||
| 144 | (provide 'misc-lang) | 158 | (provide 'misc-lang) |
| 145 | 159 | ||
| 146 | ;;; misc-lang.el ends here | 160 | ;;; misc-lang.el ends here |