[gvar] Accept coord_count even if is higher than gvar's axisCount
This commit is contained in:
parent
197e2e929b
commit
19b78d56cd
|
@ -563,6 +563,7 @@ struct gvar
|
|||
const int *coords, unsigned int coord_count,
|
||||
const hb_array_t<contour_point_t> points) const
|
||||
{
|
||||
coord_count = hb_min (coord_count, gvar_table->axisCount);
|
||||
if (!coord_count || coord_count != gvar_table->axisCount) return true;
|
||||
|
||||
const GlyphVarData *var_data = gvar_table->get_glyph_var_data (glyph);
|
||||
|
|
Loading…
Reference in New Issue