From f02c4ebb409befa41857d4df9465c5944f25e87b Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 16 Jan 2023 14:17:16 -0700 Subject: [PATCH] [test-paint] Adjust condition for enabling ft backend --- test/api/test-paint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/api/test-paint.c b/test/api/test-paint.c index 22a851259..0ba32d501 100644 --- a/test/api/test-paint.c +++ b/test/api/test-paint.c @@ -39,7 +39,7 @@ have_ft_colrv1 (void) { #if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21101 // https://github.com/harfbuzz/harfbuzz/issues/4013 - return sizeof (FT_ColorStop) == 8; + return sizeof (FT_ColorStop) == 2 * sizeof (FT_Fixed); #endif return FALSE; }