From bc991e4276cbdf8ba65c2d38a7474eba796d2432 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Sat, 11 May 2019 16:06:35 +0900 Subject: [PATCH] * src/xfns.c (x_create_tip_frame): Register font drivers as in normal frames. --- src/xfns.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/xfns.c b/src/xfns.c index 50a430aa78c..7ef69f1b222 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -6205,15 +6205,21 @@ x_create_tip_frame (struct x_display_info *dpyinfo, Lisp_Object parms) #ifdef USE_CAIRO register_font_driver (&ftcrfont_driver, f); +#ifdef HAVE_HARFBUZZ + register_font_driver (&ftcrhbfont_driver, f); +#endif /* HAVE_HARFBUZZ */ #else - register_font_driver (&xfont_driver, f); #ifdef HAVE_FREETYPE #ifdef HAVE_XFT register_font_driver (&xftfont_driver, f); +#ifdef HAVE_HARFBUZZ + register_font_driver (&xfthbfont_driver, f); +#endif #else /* not HAVE_XFT */ register_font_driver (&ftxfont_driver, f); #endif /* not HAVE_XFT */ #endif /* HAVE_FREETYPE */ + register_font_driver (&xfont_driver, f); #endif /* not USE_CAIRO */ image_cache_refcount = -- 2.39.2