[Indic] Fix Matra reordering when base is at end of syllable

For example: U+915,U+200c,U+93f

Fixes last Tamil failure!
This commit is contained in:
Behdad Esfahbod 2012-07-18 15:45:43 -04:00
parent d16ccc4ae7
commit 69f26bf39c
2 changed files with 2 additions and 1 deletions

View File

@ -473,7 +473,7 @@ initial_reordering_consonant_syllable (const hb_ot_map_t *map, hb_buffer_t *buff
/* Reorder characters */ /* Reorder characters */
for (unsigned int i = start; i < base; i++) for (unsigned int i = start; i < base; i++)
info[i].indic_position() = POS_PRE_C; info[i].indic_position() = MIN (POS_PRE_C, info[i].indic_position());
if (base < end) if (base < end)
info[base].indic_position() = POS_BASE_C; info[base].indic_position() = POS_BASE_C;

View File

@ -29,3 +29,4 @@
र्अ्‌ र्अ्‌
र्अ्‍ र्अ्‍
र्आ्र् र्आ्र्
क‌ि