From 681271d946c16d90409e00cec4216656c771f1d6 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Tue, 18 Dec 2018 17:02:52 +0200 Subject: [PATCH] Condition some more hb_* functions on HAVE_LIBOTF. --- src/ftfont.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/ftfont.c b/src/ftfont.c index 824a005df1b..4e147cd277b 100644 --- a/src/ftfont.c +++ b/src/ftfont.c @@ -2670,7 +2670,7 @@ ftfont_variation_glyphs (struct font *font, int c, unsigned variations[256]) #endif /* HAVE_LIBOTF */ #ifdef HAVE_HARFBUZZ - +#ifdef HAVE_LIBOTF static hb_unicode_combining_class_t uni_combining (hb_unicode_funcs_t *funcs, hb_codepoint_t ch, void *user_data) { @@ -2815,7 +2815,6 @@ get_hb_unicode_funcs (void) return funcs; } -#ifdef HAVE_LIBOTF static Lisp_Object ftfont_shape_by_hb (Lisp_Object lgstring, FT_Face ft_face, hb_font_t *hb_font, FT_Matrix *matrix) -- 2.39.2