[test-paint] Fix build without FreeType
Fixes https://github.com/harfbuzz/harfbuzz/issues/4103
This commit is contained in:
parent
b5c68c1cf3
commit
474b99d122
|
@ -33,6 +33,7 @@
|
||||||
#if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21300
|
#if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21300
|
||||||
#include FT_COLOR_H
|
#include FT_COLOR_H
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
static inline hb_bool_t
|
static inline hb_bool_t
|
||||||
have_ft_colrv1 (void)
|
have_ft_colrv1 (void)
|
||||||
|
@ -43,7 +44,6 @@ have_ft_colrv1 (void)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Unit tests for hb-paint.h */
|
/* Unit tests for hb-paint.h */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue