diff --git a/src/hb-ot-shape-fallback.cc b/src/hb-ot-shape-fallback.cc index b0dcc757a..aa6239c80 100644 --- a/src/hb-ot-shape-fallback.cc +++ b/src/hb-ot-shape-fallback.cc @@ -263,15 +263,13 @@ position_around_base (const hb_ot_shape_plan_t *plan, if (this_combining_class != last_combining_class) cluster_extents = base_extents; - position_mark (plan, font, buffer, base_extents, i, this_combining_class); + position_mark (plan, font, buffer, cluster_extents, i, this_combining_class); buffer->pos[i].x_advance = 0; buffer->pos[i].y_advance = 0; buffer->pos[i].x_offset += x_offset; buffer->pos[i].y_offset += y_offset; - /* combine cluster extents. */ - last_combining_class = this_combining_class; } else { if (HB_DIRECTION_IS_FORWARD (buffer->props.direction)) {