mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-22 23:41:03 +01:00
[font] Don't apply slant to singular glyph origin functions either (#5630)
Followup to 6105bad187
This commit is contained in:
1 parent
6105bad187
commit
54bcb3793a
1 file changed
+2
-6
+2
-6
@@ -445,9 +445,7 @@ struct hb_font_t
|
||||
|
||||
if (synthetic && ret)
|
||||
{
|
||||
/* Slant */
|
||||
if (slant_xy)
|
||||
*x += roundf (*y * slant_xy);
|
||||
/* Slant is ignored as it does not affect glyph origin */
|
||||
|
||||
/* Embolden */
|
||||
if (!embolden_in_place)
|
||||
@@ -471,9 +469,7 @@ struct hb_font_t
|
||||
|
||||
if (synthetic && ret)
|
||||
{
|
||||
/* Slant */
|
||||
if (slant_xy)
|
||||
*x += roundf (*y * slant_xy);
|
||||
/* Slant is ignored as it does not affect glyph origin */
|
||||
|
||||
/* Embolden */
|
||||
if (!embolden_in_place)
|
||||
|
||||
Reference in new issue
Block a user