[Indic] Apply 'pref' to pre-base reodering Ra
No reordering yet.
This commit is contained in:
parent
362d3db8d3
commit
17d7de91d7
|
@ -495,6 +495,16 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
|
||||||
info[i].mask |= mask;
|
info[i].mask |= mask;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* XXX This will not match for old-Indic spec since the Halant-Ra order is reversed already. */
|
||||||
|
if (basic_mask_array[PREF] &&
|
||||||
|
base + 3 <= end &&
|
||||||
|
info[base + 1].indic_category() == OT_H &&
|
||||||
|
info[base + 2].indic_category() == OT_Ra)
|
||||||
|
{
|
||||||
|
info[base + 1].mask |= basic_mask_array[PREF];
|
||||||
|
info[base + 2].mask |= basic_mask_array[PREF];
|
||||||
|
}
|
||||||
|
|
||||||
/* Apply ZWJ/ZWNJ effects */
|
/* Apply ZWJ/ZWNJ effects */
|
||||||
for (unsigned int i = start + 1; i < end; i++)
|
for (unsigned int i = start + 1; i < end; i++)
|
||||||
if (is_joiner (info[i])) {
|
if (is_joiner (info[i])) {
|
||||||
|
|
Loading…
Reference in New Issue