mirror of
https://github.com/harfbuzz/harfbuzz.git
synced 2025-04-14 17:13:40 +00:00
[metrics] Fix slant calc
This commit is contained in:
parent
a7751277e9
commit
3fc2e654c0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue