[metrics] Fix slant calc
This commit is contained in:
parent
a7751277e9
commit
3fc2e654c0
|
@ -196,7 +196,7 @@ hb_ot_metrics_get_position (hb_font_t *font,
|
||||||
*position *= mult;
|
*position *= mult;
|
||||||
|
|
||||||
if (font->slant)
|
if (font->slant)
|
||||||
*position += _hb_roundf (mult * rise * font->slant);
|
*position += _hb_roundf (mult * font->slant_xy * rise);
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue