From 97b8ada8652ef7ca7e33f6fe927ab8bf3c18396e Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 21 Dec 2022 19:52:20 -0700 Subject: [PATCH] [varc] Reset component coordinates to that of the font Fixes https://github.com/harfbuzz/boring-expansion-spec/issues/78 --- src/OT/glyf/Glyph.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OT/glyf/Glyph.hh b/src/OT/glyf/Glyph.hh index b7215b017..5ece5b400 100644 --- a/src/OT/glyf/Glyph.hh +++ b/src/OT/glyf/Glyph.hh @@ -370,7 +370,7 @@ struct Glyph 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); if (unlikely (!glyf_accelerator.glyph_for_gid (item.get_gid ())