Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

bug 714067 - correction in ligature indexing when combining marks are…

… present. r=behdad a=akeybl
  • Loading branch information...
commit d9c32dd6fa0a238126343a198d41f864c130c26f 1 parent de423da
@jfkthame jfkthame authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 gfx/harfbuzz/src/hb-ot-layout-gsub-private.hh
View
4 gfx/harfbuzz/src/hb-ot-layout-gsub-private.hh
@@ -376,9 +376,9 @@ struct Ligature
c->buffer->info[c->buffer->i].lig_comp() = 0;
c->buffer->info[c->buffer->i].lig_id() = lig_id;
- if (j == c->buffer->i + i) /* No input glyphs skipped */
+ if (j < c->buffer->i + count) /* No input glyphs skipped */
{
- c->replace_glyphs_be16 (i, 1, (const uint16_t *) &ligGlyph);
+ c->replace_glyphs_be16 (count, 1, (const uint16_t *) &ligGlyph);
}
else
{
Please sign in to comment.
Something went wrong with that request. Please try again.