This should fix any instabilities in cluster formation that we were
speculating may happen with surrounding syllables. Or most of it
perhaps.
/* We do bubble-sort, skip malicious clusters attempts */
if (end - start < 64)
{
+ /* Things are out-of-control for post base positions, they may shuffle
+ * around like crazy, so merge clusters. For pre-base stuff, we handle
+ * cluster issues in final reordering. */
+ buffer->merge_clusters (base, end);
/* Sit tight, rock 'n roll! */
hb_bubble_sort (info + start, end - start, compare_indic_order);
/* Find base again */