[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;
|
||||
|
||||
if (font->slant)
|
||||
*position += _hb_roundf (mult * rise * font->slant);
|
||||
*position += _hb_roundf (mult * font->slant_xy * rise);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
|
Loading…
Reference in New Issue