mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-27 10:26:19 +03:00
detect FreeType / HarfBuzz features
This commit is contained in:
parent
aeb3c810d0
commit
6565d13275
15
src/thirdparty/raqm/raqm.c
vendored
15
src/thirdparty/raqm/raqm.c
vendored
|
@ -39,6 +39,21 @@
|
||||||
#include <hb.h>
|
#include <hb.h>
|
||||||
#include <hb-ft.h>
|
#include <hb-ft.h>
|
||||||
|
|
||||||
|
#if FREETYPE_MAJOR > 2 || \
|
||||||
|
FREETYPE_MAJOR == 2 && FREETYPE_MINOR >= 11
|
||||||
|
#define HAVE_FT_GET_TRANSFORM
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HB_VERSION_ATLEAST(2, 0, 0)
|
||||||
|
#define HAVE_HB_BUFFER_SET_INVISIBLE_GLYPH
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if HB_VERSION_ATLEAST(1, 8, 0)
|
||||||
|
#define HAVE_DECL_HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES 1
|
||||||
|
#else
|
||||||
|
#define HAVE_DECL_HB_BUFFER_FLAG_REMOVE_DEFAULT_IGNORABLES 0
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "raqm.h"
|
#include "raqm.h"
|
||||||
|
|
||||||
#if FRIBIDI_MAJOR_VERSION >= 1
|
#if FRIBIDI_MAJOR_VERSION >= 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user