]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/xfns.c (x_create_tip_frame): Register font drivers as in normal frames.
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 11 May 2019 07:06:35 +0000 (16:06 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Sat, 11 May 2019 07:06:35 +0000 (16:06 +0900)
src/xfns.c

index 50a430aa78cd5cb4c520cc73ad193d7284127fe6..7ef69f1b222a2895398357bfe4e145b1f1b1312e 100644 (file)
@@ -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 =