declare text_layout_raqm only when we HAVE_RAQM

This commit is contained in:
Fahad Al-Saidi 2016-12-14 11:29:09 +04:00
parent 22d2a5e49c
commit b18ead33f1

View File

@ -205,6 +205,7 @@ font_getchar(PyObject* string, int index, FT_ULong* char_out)
return 0;
}
#ifdef HAVE_RAQM
static size_t
text_layout_raqm(PyObject* string, FontObject* self, const char* dir,
PyObject *features ,GlyphInfo **glyph_info, int mask)
@ -342,6 +343,7 @@ failed:
raqm_destroy (rq);
return count;
}
#endif
static size_t
text_layout_fallback(PyObject* string, FontObject* self, const char* dir,