summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-09-01 16:15:25 +0100
committerBehdad Esfahbod <behdad@behdad.org>2015-09-01 16:15:25 +0100
commitc403d6320074455a5e8e48902c0ac4ee9685e33d (patch)
tree1d785cb9c485e6b8d09f31d8fa5c26c654fc3fe6
parente995d33c10a4bd9404699d01bddb2b69d811e9ed (diff)
downloadharfbuzz-c403d6320074455a5e8e48902c0ac4ee9685e33d.tar.gz
[myanmar] Use buffer->sort() to sort cluster
This can possibly produce more granular clusters.
-rw-r--r--src/hb-ot-shape-complex-myanmar.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc
index 9afcbf84..30a53c7e 100644
--- a/src/hb-ot-shape-complex-myanmar.cc
+++ b/src/hb-ot-shape-complex-myanmar.cc
@@ -391,9 +391,8 @@ initial_reordering_consonant_syllable (hb_buffer_t *buffer,
}
}
- buffer->merge_clusters (start, end);
/* Sit tight, rock 'n roll! */
- hb_stable_sort (info + start, end - start, compare_myanmar_order);
+ buffer->sort (start, end, compare_myanmar_order);
}
static void