]> git.eshelyaron.com Git - emacs.git/commitdiff
Enable harfbuzz
authorYuuki Harano <masm+github@masm11.me>
Fri, 27 Nov 2020 15:14:23 +0000 (00:14 +0900)
committerYuuki Harano <masm+github@masm11.me>
Fri, 27 Nov 2020 15:14:23 +0000 (00:14 +0900)
* src/pgtkfns.c (Fx_create_frame): Register ftcrhb font driver if enabled.

src/pgtkfns.c

index e280bb33d2c7f4730a3bf8c9ca172b014227607c..1bf1c612ff745da28f1678f3ae226aea85108ae1 100644 (file)
@@ -1314,6 +1314,9 @@ This function is an internal primitive--use `make-frame' instead.  */ )
     }
 
   register_font_driver (&ftcrfont_driver, f);
+#ifdef HAVE_HARFBUZZ
+  register_font_driver (&ftcrhbfont_driver, f);
+#endif /* HAVE_HARFBUZZ */
 
   image_cache_refcount =
     FRAME_IMAGE_CACHE (f) ? FRAME_IMAGE_CACHE (f)->refcount : 0;