[gvar] Accept coord_count even if is higher than gvar's axisCount

This commit is contained in:
Ebrahim Byagowi committed 2020-02-24 09:25:18 +03:30
1 parent 197e2e929b
commit 19b78d56cd
1 file changed
+1
+1
View File
@@ -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);