[paint] Fix skew to match Chrome

This commit is contained in:
Behdad Esfahbod 2023-01-25 14:33:46 -07:00
parent b44ff062e1
commit 626f8e4de3
1 changed files with 2 additions and 2 deletions

View File

@ -216,8 +216,8 @@ struct hb_paint_funcs_t
if (!sx && !sy)
return false;
float x = +tanf (sx * (float) M_PI);
float y = -tanf (sy * (float) M_PI);
float x = -tanf (sx * (float) M_PI);
float y = +tanf (sy * (float) M_PI);
push_transform (paint_data, 1.f, y, x, 1.f, 0.f, 0.f);
return true;
}