[Indic] Minor

Should not be any semantic change.  In preparation for implementing
pre-base reordering Ra.
This commit is contained in:
Behdad Esfahbod 2012-07-16 15:15:28 -04:00
parent 70fe77bb9a
commit 362d3db8d3
1 changed files with 1 additions and 7 deletions

View File

@ -592,13 +592,6 @@ final_reordering_syllable (hb_buffer_t *buffer, hb_mask_t *other_mask_array,
break; 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; unsigned int start_of_last_cluster = base;
/* o Reorder matras: /* 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. * 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; unsigned int new_matra_pos = base - 1;
while (new_matra_pos > start && while (new_matra_pos > start &&