This commit is contained in:
Behdad Esfahbod 2017-01-20 18:19:28 -08:00
parent f2e73d37e7
commit b8376b1090
1 changed files with 1 additions and 1 deletions

View File

@ -625,7 +625,7 @@ hb_ft_font_create (FT_Face ft_face,
int hbCoords[mm_var->num_axis];
if (!FT_Get_Var_Blend_Coordinates (ft_face, mm_var->num_axis, coords))
{
for (int i = 0; i < mm_var->num_axis; ++i)
for (unsigned int i = 0; i < mm_var->num_axis; ++i)
hbCoords[i] = coords[i] >> 2;
hb_font_set_var_coords_normalized (font, hbCoords, mm_var->num_axis);