[fvar] minor
This commit is contained in:
parent
aadcd3ed8a
commit
d543923294
|
@ -210,7 +210,7 @@ struct fvar
|
||||||
unsigned i;
|
unsigned i;
|
||||||
if (!axis_index) axis_index = &i;
|
if (!axis_index) axis_index = &i;
|
||||||
*axis_index = HB_OT_VAR_NO_AXIS_INDEX;
|
*axis_index = HB_OT_VAR_NO_AXIS_INDEX;
|
||||||
hb_array_t<const AxisRecord> axes = get_axes ();
|
auto axes = get_axes ();
|
||||||
return axes.lfind (tag, axis_index) && (axes[*axis_index].get_axis_deprecated (info), true);
|
return axes.lfind (tag, axis_index) && (axes[*axis_index].get_axis_deprecated (info), true);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
@ -218,8 +218,8 @@ struct fvar
|
||||||
bool
|
bool
|
||||||
find_axis_info (hb_tag_t tag, hb_ot_var_axis_info_t *info) const
|
find_axis_info (hb_tag_t tag, hb_ot_var_axis_info_t *info) const
|
||||||
{
|
{
|
||||||
hb_array_t<const AxisRecord> axes = get_axes ();
|
|
||||||
unsigned i;
|
unsigned i;
|
||||||
|
auto axes = get_axes ();
|
||||||
return axes.lfind (tag, &i) && (axes[i].get_axis_info (i, info), true);
|
return axes.lfind (tag, &i) && (axes[i].get_axis_info (i, info), true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue