[varc] Reset component coordinates to that of the font
Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/78
This commit is contained in:
parent
40342c9437
commit
97b8ada865
|
@ -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 ())
|
||||||
|
|
Loading…
Reference in New Issue