From 2f72162243b293af9c204646ef6e777dc8222b52 Mon Sep 17 00:00:00 2001 From: Ari Roponen Date: Fri, 14 Dec 2018 09:22:09 +0200 Subject: [PATCH] Fix crash in the Cairo build * src/ftcrfont.c (struct ftcrfont_info) [HAVE_HARFBUZZ]: New member 'hb_font'. (Bug#33739) --- src/ftcrfont.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ftcrfont.c b/src/ftcrfont.c index e2f84d44fc2..6d74d937a73 100644 --- a/src/ftcrfont.c +++ b/src/ftcrfont.c @@ -41,6 +41,9 @@ struct ftcrfont_info bool maybe_otf; /* Flag to tell if this may be OTF or not. */ OTF *otf; #endif /* HAVE_LIBOTF */ +#ifdef HAVE_HARFBUZZ + hb_font_t *hb_font; +#endif /* HAVE_HARFBUZZ */ FT_Size ft_size; int index; FT_Matrix matrix; -- 2.39.2