diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/indic/mprefixups.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/indic/mprefixups.c b/modules/indic/mprefixups.c index 4acb6d09..a599e6d6 100644 --- a/modules/indic/mprefixups.c +++ b/modules/indic/mprefixups.c @@ -81,7 +81,7 @@ void indic_mprefixups_apply(MPreFixups *mprefixups, PangoOTBuffer *buffer) pango_ot_buffer_get_glyphs (buffer, &glyphs, &n_glyphs); for (i = 0; i < n_glyphs; i++) { - if (baseGlyph < 0 && glyphs[i].cluster == baseIndex) + if ((baseIndex >= glyphs[i].cluster) && (baseIndex-glyphs[i].cluster) % 2 == 0) /* bug 441654 */ baseGlyph = i; if (glyphs[i].cluster == mpreIndex) { if (mpreGlyph < 0) |