commit | 626f8e4de3060376d12c77ac4967fd6fb908169a | [log] [tgz] |
---|---|---|
author | Behdad Esfahbod <behdad@behdad.org> | Wed Jan 25 14:33:46 2023 -0700 |
committer | Behdad Esfahbod <behdad@behdad.org> | Wed Jan 25 14:33:46 2023 -0700 |
tree | b539dd171b8452d2c1026fdb37d261dc1a6933eb | |
parent | b44ff062e1dcddb51c13d3df9e66b31339d7e4b5 [diff] |
[paint] Fix skew to match Chrome
diff --git a/src/hb-paint.hh b/src/hb-paint.hh index c4789cf..007e899 100644 --- a/src/hb-paint.hh +++ b/src/hb-paint.hh
@@ -216,8 +216,8 @@ 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; }