From b99d63ae114fb58f129562b293a8a66543d499ad Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Thu, 10 May 2012 11:32:52 +0200 Subject: [PATCH] [Indic] Increase max syllable length 20 was way too low, one could hit a syllable with 7ish consonants with it. --- src/hb-ot-shape-complex-indic.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index 466e924..65cff5f 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -363,7 +363,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff info[i].indic_position() = info[i - 1].indic_position(); /* We do bubble-sort, skip malicious clusters attempts */ - if (end - start < 20) + if (end - start < 64) { /* Sit tight, rock 'n roll! */ hb_bubble_sort (info + start, end - start, compare_indic_order); -- 2.7.4