]> git.eshelyaron.com Git - emacs.git/commit
Fix HarfBuzz support on MS-Windows
authorEli Zaretskii <eliz@gnu.org>
Thu, 25 Jul 2019 16:47:56 +0000 (19:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Thu, 25 Jul 2019 16:47:56 +0000 (19:47 +0300)
commit28d231dbbb1f71bf1836148bb52969c31a05fe71
treefbb1a3551febf7b2dbbb439e8593201ead615856
parent9c1ecca333b68b8d11c0acb8a273d71bea8cf505
Fix HarfBuzz support on MS-Windows

* src/w32uniscribe.c [HAVE_HARFBUZZ]: Include hb-ot.h.
(fn_hb_ot_font_set_funcs, hb_ot_font_set_funcs): Define.
(w32hb_get_font): Call hb_ot_font_set_funcs after creating the
hb_font_t object, to make the code work with versions of
HarfBuzz before 2.0.0.  Problem reported by Stephen Leake
<stephen_leake@stephe-leake.org>.  Solution suggested by
Khaled Hosny <dr.khaled.hosny@gmail.com> in
https://lists.freedesktop.org/archives/harfbuzz/2019-July/007412.html.
src/w32uniscribe.c