[test-paint] Adjust condition for enabling ft backend

This commit is contained in:
Behdad Esfahbod 2023-01-16 14:17:16 -07:00
parent 7dfa672dac
commit f02c4ebb40
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ have_ft_colrv1 (void)
{ {
#if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21101 #if (FREETYPE_MAJOR*10000 + FREETYPE_MINOR*100 + FREETYPE_PATCH) >= 21101
// https://github.com/harfbuzz/harfbuzz/issues/4013 // https://github.com/harfbuzz/harfbuzz/issues/4013
return sizeof (FT_ColorStop) == 8; return sizeof (FT_ColorStop) == 2 * sizeof (FT_Fixed);
#endif #endif
return FALSE; return FALSE;
} }