From 362d3db8d3527d0fef260a17d2466e92a4a25425 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Mon, 16 Jul 2012 15:15:28 -0400 Subject: [PATCH] [Indic] Minor Should not be any semantic change. In preparation for implementing pre-base reordering Ra. --- src/hb-ot-shape-complex-indic.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index b820aea..682f5cd 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -592,13 +592,6 @@ final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *other_mask_array, break; } - if (base == start) { - /* There's no Reph, and no left Matra to reposition. Just merge the cluster - * and go home. */ - buffer->merge_clusters (start, end); - return; - } - unsigned int start_of_last_cluster = base; /* o Reorder matras: @@ -611,6 +604,7 @@ final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *other_mask_array, * halant, position is moved after it. */ + if (start < base) /* Otherwise there can't be any pre-base matra characters. */ { unsigned int new_matra_pos = base - 1; while (new_matra_pos > start && -- 2.7.4