[glyf] Relax condition for matching number of coords

This commit is contained in:
Behdad Esfahbod 2022-07-03 14:45:12 -06:00
parent 800760c5bd
commit 115e1a03e7
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ struct glyf_accelerator_t
bool success = false;
contour_point_t phantoms[glyf_impl::PHANTOM_COUNT];
if (likely (font->num_coords == gvar->get_axis_count ()))
if (font->num_coords)
success = get_points (font, gid, points_aggregator_t (font, nullptr, phantoms, false));
if (unlikely (!success))