]> git.eshelyaron.com Git - emacs.git/commit
Make fthbfont and derivatives use common HarfBuzz code in hbfont.c
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 2 Jun 2019 04:18:39 +0000 (13:18 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sun, 2 Jun 2019 04:18:39 +0000 (13:18 +0900)
commit1ab69630dcb8c7a1b1b4171211a7c8ebf11b0d1c
treebe63752fccbd05d7863fe7329e717da77d3f803f
parentab1d5d400536f83a43b65c9bcc347a900f6008b4
Make fthbfont and derivatives use common HarfBuzz code in hbfont.c

* src/font.h (fthbfont_shape, fthbfont_combining_capability)
[HAVE_HARFBUZZ]: Remove prototypes.

* src/ftfont.c: Don't include math.h.
(uni_combining, uni_general, uni_mirroring, get_hb_unicode_funcs)
(fthbfont_shape_by_hb, fthbfont_combining_capability, fthbfont_shape)
[HAVE_HARFBUZZ]: Remove functions.

* src/ftfont.c (syms_of_ftfont_for_pdumper) [HAVE_HARFBUZZ]:
* src/xftfont.c (syms_of_xftfont_for_pdumper) [HAVE_HARFBUZZ]:
* src/ftcrfont.c (syms_of_ftcrfont_for_pdumper) [HAVE_HARFBUZZ]: Use
hbfont_shape and hbfont_combining_capability for fthbfont_shape and
fthbfont_combining_capability, respectively.
configure.ac
src/ftcrfont.c
src/ftfont.c
src/ftxfont.c
src/xftfont.c