[metrics] Fix slant calc

This commit is contained in:
Behdad Esfahbod 2022-01-02 11:56:45 -07:00
parent a7751277e9
commit 3fc2e654c0
1 changed files with 1 additions and 1 deletions

View File

@ -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;