[paint] Fix slant
This commit is contained in:
parent
b1500babaa
commit
8495395397
|
@ -182,7 +182,7 @@ struct hb_paint_funcs_t
|
||||||
float slant = font->slant_xy;
|
float slant = font->slant_xy;
|
||||||
|
|
||||||
func.push_transform (this, paint_data,
|
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,
|
font,
|
||||||
!user_data ? nullptr : user_data->push_transform);
|
!user_data ? nullptr : user_data->push_transform);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue