[glyf] Fix another bug with scaling

Of advances this time.

That codepath is never exercised though, if font has HVAR table.
pull/3707/head
Behdad Esfahbod 2 years ago
parent f46ddeba48
commit ab327f93b7
  1. 2
      src/OT/glyf/glyf.hh

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

Loading…
Cancel
Save