[hebrew] Break out of reordering loop when pattern found

pull/3743/head
Behdad Esfahbod 2 years ago
parent 42f1d7794b
commit 5998cd00c8
  1. 1
      src/hb-ot-shaper-hebrew.cc

@ -182,6 +182,7 @@ reorder_marks_hebrew (const hb_ot_shape_plan_t *plan HB_UNUSED,
{
buffer->merge_clusters (i - 1, i + 1);
hb_swap (info[i - 1], info[i]);
break;
}
}

Loading…
Cancel
Save