From a45bf5b04c907c7071a41bac3235459f02eb1f8f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 30 Dec 2022 11:19:36 -0700 Subject: [PATCH] [ft-colr] Require FreeType >= 2.11.1 Fixes https://github.com/harfbuzz/harfbuzz/issues/3989 --- src/hb-ft-colr.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ft-colr.hh b/src/hb-ft-colr.hh index e3abeac85..6af0cdbd0 100644 --- a/src/hb-ft-colr.hh +++ b/src/hb-ft-colr.hh @@ -33,7 +33,7 @@ #ifndef HB_NO_PAINT -#ifdef TT_SUPPORT_COLRV1 +#if defined(TT_SUPPORT_COLRV1) and (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21101 static hb_paint_composite_mode_t