[paint] Fix slant

This commit is contained in:
Behdad Esfahbod 2022-12-21 09:03:13 -07:00
parent b1500babaa
commit 8495395397
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ struct hb_paint_funcs_t
float slant = font->slant_xy;
func.push_transform (this, paint_data,
upem/xscale, 0, slant * upem/xscale, upem/yscale, 0, 0,
upem/xscale, 0, -slant * upem/xscale, upem/yscale, 0, 0,
font,
!user_data ? nullptr : user_data->push_transform);
}