[font] Call fvar table directly, instead of calling public get_axis_info

To lighten it up in next commit.
This commit is contained in:
Behdad Esfahbod 2021-07-22 11:53:32 -07:00
parent b86a45ca55
commit 0b2280af90
1 changed files with 1 additions and 1 deletions

View File

@ -2068,7 +2068,7 @@ hb_font_set_variations (hb_font_t *font,
for (unsigned int i = 0; i < variations_length; i++)
{
hb_ot_var_axis_info_t info;
if (hb_ot_var_find_axis_info (font->face, variations[i].tag, &info) &&
if (fvar.find_axis_info (variations[i].tag, &info) &&
info.axis_index < coords_length)
{
float v = variations[i].value;