[ft-paint] Fix a case of x/y confusion

This commit is contained in:
Matthias Clasen 2022-12-23 09:08:10 -05:00 committed by Behdad Esfahbod
parent 0d5256e5a7
commit fe08e956e0
1 changed files with 2 additions and 2 deletions

View File

@ -293,9 +293,9 @@ _hb_ft_paint (FT_OpaquePaint opaque_paint,
+paint.u.scale.center_x / 65536.f, +paint.u.scale.center_x / 65536.f,
+paint.u.scale.center_y / 65536.f); +paint.u.scale.center_y / 65536.f);
paint_funcs->push_transform (paint_data, paint_funcs->push_transform (paint_data,
paint.u.scale.scale_y / 65536.f,
0.f, 0.f,
paint.u.scale.scale_x / 65536.f, paint.u.scale.scale_x / 65536.f,
0.f, 0.f,
paint.u.scale.scale_y / 65536.f,
0.f, 0.f); 0.f, 0.f);
paint_funcs->push_transform (paint_data, paint_funcs->push_transform (paint_data,
1.f, 0.f, 0.f, 1.f, 1.f, 0.f, 0.f, 1.f,