From 9034641333d7bfb41a0784cce72e43591faea083 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 9 May 2012 15:04:58 +0200 Subject: [PATCH] [Indic] Keep Vedic signs at the right too --- src/hb-ot-shape-complex-indic.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hb-ot-shape-complex-indic.cc b/src/hb-ot-shape-complex-indic.cc index f198fba83..828f3dbb9 100644 --- a/src/hb-ot-shape-complex-indic.cc +++ b/src/hb-ot-shape-complex-indic.cc @@ -179,7 +179,8 @@ _hb_ot_shape_complex_setup_masks_indic (hb_ot_map_t *map, hb_buffer_t *buffer, h buffer->info[i].indic_position() = consonant_position (buffer->info[i].codepoint); if (is_ra (buffer->info[i].codepoint)) buffer->info[i].indic_category() = OT_Ra; - } else if (buffer->info[i].indic_category() == OT_SM) { + } else if (buffer->info[i].indic_category() == OT_SM || + buffer->info[i].indic_category() == OT_VD) { buffer->info[i].indic_position() = POS_POST; } else if (buffer->info[i].codepoint == 0x200C) buffer->info[i].indic_category() = OT_ZWNJ;