]> git.eshelyaron.com Git - emacs.git/commit
Improve support for shaping Egyptian Hieroglyphs
authorEli Zaretskii <eliz@gnu.org>
Sun, 25 Oct 2020 16:05:37 +0000 (18:05 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 25 Oct 2020 16:05:37 +0000 (18:05 +0200)
commit8164f3e1ab3ca8d28f782407ab8daf086a624d1a
tree13b8d57d96b80a9ba3c9ea90098d9dfca4a335d2
parent7276723630f93878762d474b0a5adda4251191bd
Improve support for shaping Egyptian Hieroglyphs

* src/composite.c (composition_gstring_lookup_cache): Renamed from
gstring_lookup_cache and made external.  All callers changed.
* src/composite.h (composition_gstring_lookup_cache): Add
prototype.
* src/font.c (Ffont_shape_gstring): Call
composition_gstring_lookup_cache and return the cached composition
if it is already in the cache.

* lisp/language/misc-lang.el (egyptian-shape-grouping): New
function.
(composition-function-table): Use egyptian-shape-grouping in
setting up compositions for Egyptian Hieroglyphs.  Fix the
composition setup for horizontal and vertical joiners.
lisp/language/misc-lang.el
src/composite.c
src/composite.h
src/font.c