]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix crash in the Cairo build
authorAri Roponen <ari.roponen@gmail.com>
Fri, 14 Dec 2018 07:22:09 +0000 (09:22 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 14 Dec 2018 08:53:18 +0000 (10:53 +0200)
* src/ftcrfont.c (struct ftcrfont_info) [HAVE_HARFBUZZ]: New
member 'hb_font'.  (Bug#33739)

src/ftcrfont.c

index e2f84d44fc2f60cc35c081d1fcfdba2f8a05095a..6d74d937a73c5133643fe7f969484fda27193898 100644 (file)
@@ -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;