[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] harfbuzz bc991e4 1/2: * src/xfns.c (x_create_tip_frame): R
From: |
YAMAMOTO Mitsuharu |
Subject: |
[Emacs-diffs] harfbuzz bc991e4 1/2: * src/xfns.c (x_create_tip_frame): Register font drivers as in normal frames. |
Date: |
Sat, 11 May 2019 03:09:37 -0400 (EDT) |
branch: harfbuzz
commit bc991e4276cbdf8ba65c2d38a7474eba796d2432
Author: YAMAMOTO Mitsuharu <address@hidden>
Commit: YAMAMOTO Mitsuharu <address@hidden>
* 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 50a430a..7ef69f1 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 =