diff --git a/src/hb-aat-layout.cc b/src/hb-aat-layout.cc index b3b56c08d126313b8b8664ece33383a7cc761959..74d52689151a6edc517a51442936f8072e761291 100644 --- a/src/hb-aat-layout.cc +++ b/src/hb-aat-layout.cc @@ -232,7 +232,7 @@ hb_aat_layout_zero_width_deleted_glyphs (hb_buffer_t *buffer) hb_glyph_position_t *pos = buffer->pos; for (unsigned int i = 0; i < count; i++) if (unlikely (info[i].codepoint == AAT::DELETED_GLYPH)) - pos[i].x_advance = pos[i].y_advance = 0; + pos[i].x_advance = pos[i].y_advance = pos[i].x_offset = pos[i].y_offset = 0; } static bool