[varc] Reset component coordinates to that of the font

Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/78
This commit is contained in:
Behdad Esfahbod 2022-12-21 19:52:20 -07:00
parent 40342c9437
commit 97b8ada865
1 changed files with 1 additions and 1 deletions

View File

@ -370,7 +370,7 @@ struct Glyph
comp_points.reset (); comp_points.reset ();
coord_setter_t coord_setter (coords); coord_setter_t coord_setter (hb_array (font->coords, font->num_coords));
item.set_variations (coord_setter, record_points); item.set_variations (coord_setter, record_points);
if (unlikely (!glyf_accelerator.glyph_for_gid (item.get_gid ()) if (unlikely (!glyf_accelerator.glyph_for_gid (item.get_gid ())