From: Yuuki Harano Date: Fri, 27 Nov 2020 15:14:23 +0000 (+0900) Subject: Enable harfbuzz X-Git-Tag: emacs-29.0.90~3757 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=197b37c7689578bf3b08fd690c97df122e8d3547;p=emacs.git Enable harfbuzz * src/pgtkfns.c (Fx_create_frame): Register ftcrhb font driver if enabled. --- diff --git a/src/pgtkfns.c b/src/pgtkfns.c index e280bb33d2c..1bf1c612ff7 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c @@ -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;