[Indic] Improve base finding in final_reordering
Fixes 5 Malayalam failures! MALAYALAM: 1048016 out of 1048334 tests passed. 318 failed (0.0303338%)
This commit is contained in:
parent
126f39cd16
commit
a0cb9f33ee
|
@ -1186,6 +1186,13 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
|
|||
base--;
|
||||
break;
|
||||
}
|
||||
if (base == end && start < base &&
|
||||
info[base - 1].indic_category() != OT_ZWJ)
|
||||
base--;
|
||||
while (start < base &&
|
||||
(info[base].indic_category() == OT_H ||
|
||||
info[base].indic_category() == OT_N))
|
||||
base--;
|
||||
|
||||
|
||||
/* o Reorder matras:
|
||||
|
|
Loading…
Reference in New Issue