]> git.eshelyaron.com Git - emacs.git/commit
Add HarfBuzz fallbacks for libotf functions used in ftfont_list
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 6 Jul 2019 05:35:00 +0000 (14:35 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 6 Jul 2019 05:35:58 +0000 (14:35 +0900)
commit814b509b1ddf7863d18f7f443e8d733173904e81
tree612451e17e597ab2de999c5f40f91b351db26fb2
parent0e15bd11dc058d5efcdcb16436c3d8cf240859f6
Add HarfBuzz fallbacks for libotf functions used in ftfont_list

* src/ftfont.c [!HAVE_LIBOTF && HAVE_HARFBUZZ]: Include hb-ot.h.
(OTF, OTF_tag) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New typedefs.
(hbotf_open, hbotf_check_features) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: New
functions.
(OTF_open, OTF_close, OTF_check_features) [!HAVE_LIBOTF && HAVE_HARFBUZZ]:
New macros.
(ftfont_list) [!HAVE_LIBOTF && HAVE_HARFBUZZ]: Use them.
src/ftfont.c