[indic] Improve base re-finding
No test numbers change.
This commit is contained in:
parent
c04d5f0dd2
commit
39c8201f8e
@ -1353,11 +1353,10 @@ final_reordering_syllable (const hb_ot_shape_plan_t *plan,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (base == end && start < base &&
|
if (base == end && start < base &&
|
||||||
info[base - 1].indic_category() != OT_ZWJ)
|
is_one_of (info[base - 1], FLAG (OT_ZWJ)))
|
||||||
base--;
|
base--;
|
||||||
while (start < base &&
|
while (start < base &&
|
||||||
(info[base].indic_category() == OT_H ||
|
is_one_of (info[base], (FLAG (OT_N) | HALANT_OR_COENG_FLAGS)))
|
||||||
info[base].indic_category() == OT_N))
|
|
||||||
base--;
|
base--;
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user