[font] Fix compiler warnings

This commit is contained in:
Behdad Esfahbod 2023-02-19 20:38:43 -07:00
parent 7c74fc9631
commit 8c1b47d7e2
1 changed files with 2 additions and 2 deletions

View File

@ -697,8 +697,8 @@ struct hb_font_t
bool y_neg = y_scale < 0;
y_mult = (y_neg ? -((int64_t) -y_scale << 16) : ((int64_t) y_scale << 16)) / upem;
x_strength = fabs (roundf (x_scale * x_embolden));
y_strength = fabs (roundf (y_scale * y_embolden));
x_strength = fabsf (roundf (x_scale * x_embolden));
y_strength = fabsf (roundf (y_scale * y_embolden));
slant_xy = y_scale ? slant * x_scale / y_scale : 0.f;