summaryrefslogtreecommitdiff
path: root/src/ftfont.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-12-18 17:02:52 +0200
committerEli Zaretskii <eliz@gnu.org>2018-12-18 17:02:52 +0200
commit681271d946c16d90409e00cec4216656c771f1d6 (patch)
treea6f5b157390fe763e1d7afa08de4e6e825193b0c /src/ftfont.c
parent8ea9fbe34bce795450e0f4200078649dcf1d3f8c (diff)
downloademacs-681271d946c16d90409e00cec4216656c771f1d6.tar.gz
Condition some more hb_* functions on HAVE_LIBOTF.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r--src/ftfont.c3
1 files changed, 1 insertions, 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)