From c403d6320074455a5e8e48902c0ac4ee9685e33d Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 1 Sep 2015 16:15:25 +0100 Subject: [PATCH] [myanmar] Use buffer->sort() to sort cluster This can possibly produce more granular clusters. --- src/hb-ot-shape-complex-myanmar.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/hb-ot-shape-complex-myanmar.cc b/src/hb-ot-shape-complex-myanmar.cc index 9afcbf845..30a53c7e3 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