From 197b37c7689578bf3b08fd690c97df122e8d3547 Mon Sep 17 00:00:00 2001 From: Yuuki Harano Date: Sat, 28 Nov 2020 00:14:23 +0900 Subject: [PATCH] Enable harfbuzz * src/pgtkfns.c (Fx_create_frame): Register ftcrhb font driver if enabled. --- src/pgtkfns.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5