mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
declare text_layout_raqm only when we HAVE_RAQM
This commit is contained in:
parent
4ed6962364
commit
74e4ccc0ec
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user