[test-paint] Adjust condition for enabling ft backend
This commit is contained in:
parent
7dfa672dac
commit
f02c4ebb40
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue