]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix oversights of "support X core font driver on cairo" change
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 19 Jun 2019 09:07:00 +0000 (18:07 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Wed, 19 Jun 2019 09:07:00 +0000 (18:07 +0900)
* src/Makefile.in (FONT_OBJ): Fix comment for USE_CAIRO.
* src/xfns.c (x_create_tip_frame) [USE_CAIRO]: Register xfont_driver.

src/Makefile.in
src/xfns.c

index 0e3efb359b8905d084db06a032c4d7214243629a..02a1a2c4cf9529f8bfd6bdd2a05c933e0909f886 100644 (file)
@@ -297,7 +297,7 @@ W32_RES_LINK=@W32_RES_LINK@
 ## Empty if !HAVE_X_WINDOWS
 ## xfont.o ftfont.o xftfont.o ftxfont.o if HAVE_XFT
 ## xfont.o ftfont.o ftxfont.o if HAVE_FREETYPE
-## ftfont.o ftcrfont.o if USE_CAIRO
+## xfont.o ftfont.o ftcrfont.o if USE_CAIRO
 ## else xfont.o
 ## if HAVE_HARFBUZZ, hbfont.o is added regardless of the rest
 FONT_OBJ=@FONT_OBJ@
index 5787abb528184774498783b08ef494cbc63aa3f8..c9fe3e11f2d117fb8fb07f5ca2c5457fae1eb9fb 100644 (file)
@@ -6225,8 +6225,8 @@ x_create_tip_frame (struct x_display_info *dpyinfo, Lisp_Object parms)
   register_font_driver (&ftxfont_driver, f);
 #endif /* not HAVE_XFT */
 #endif /* HAVE_FREETYPE */
-  register_font_driver (&xfont_driver, f);
 #endif /* not USE_CAIRO */
+  register_font_driver (&xfont_driver, f);
 
   image_cache_refcount =
     FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;