[font] Call fvar table directly, instead of calling public get_axis_info
To lighten it up in next commit.
This commit is contained in:
parent
b86a45ca55
commit
0b2280af90
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue