]> git.eshelyaron.com Git - emacs.git/commit
support rendering of wider range of combinging characters by ftfont backend
authorK. Handa <handa@gnu.org>
Sat, 2 Jan 2016 07:36:21 +0000 (16:36 +0900)
committerK. Handa <handa@gnu.org>
Sat, 2 Jan 2016 07:36:21 +0000 (16:36 +0900)
commit536f48e9a2251b9e654ea974bd90ff2f40218753
treefa48333ec65910b24ffab90f2dda3d200fb56215
parentd259328fb87db8cc67d52771efcfa653e52c5b71
support rendering of wider range of combinging characters by ftfont backend

* lisp/language/hebrew.el (hebrew-shape-gstring): If the font backend
supports rendering of combining characters, call
font-shape-gstring.

* src/font.c (Ffont_get): Handle `combining-capability' property.
(syms_of_font): New symbol ":combining-capability'.

* src/font.h (struct font_driver): New member combining_capability.

* src/ftfont.c: Include "category.h".
(ftfont_driver): Initialize combining_capability to
ftfont_combining_capability.
(ftfont_shape_by_flt): If OTF is null, try to find a suitable
FLT in advance.
(ftfont_combining_capability): New function.
lisp/language/hebrew.el
src/font.c
src/font.h
src/ftfont.c