[glyf] Relax condition for matching number of coords
This commit is contained in:
parent
800760c5bd
commit
115e1a03e7
|
@ -265,7 +265,7 @@ struct glyf_accelerator_t
|
||||||
bool success = false;
|
bool success = false;
|
||||||
|
|
||||||
contour_point_t phantoms[glyf_impl::PHANTOM_COUNT];
|
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));
|
success = get_points (font, gid, points_aggregator_t (font, nullptr, phantoms, false));
|
||||||
|
|
||||||
if (unlikely (!success))
|
if (unlikely (!success))
|
||||||
|
|
Loading…
Reference in New Issue