From fe08e956e0eb89ca26547b00d0a3191db9011af9 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 23 Dec 2022 09:08:10 -0500 Subject: [PATCH] [ft-paint] Fix a case of x/y confusion --- src/hb-ft-colr.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/hb-ft-colr.hh b/src/hb-ft-colr.hh index fcf0e4f33..7c39bb9e3 100644 --- a/src/hb-ft-colr.hh +++ b/src/hb-ft-colr.hh @@ -293,9 +293,9 @@ _hb_ft_paint (FT_OpaquePaint opaque_paint, +paint.u.scale.center_x / 65536.f, +paint.u.scale.center_y / 65536.f); paint_funcs->push_transform (paint_data, - paint.u.scale.scale_y / 65536.f, - 0.f, 0.f, paint.u.scale.scale_x / 65536.f, + 0.f, 0.f, + paint.u.scale.scale_y / 65536.f, 0.f, 0.f); paint_funcs->push_transform (paint_data, 1.f, 0.f, 0.f, 1.f,