Merge clusters when ligating
authorBehdad Esfahbod <behdad@behdad.org>
Sat, 9 Jun 2012 00:13:56 +0000 (20:13 -0400)
committerBehdad Esfahbod <behdad@behdad.org>
Sat, 9 Jun 2012 00:17:06 +0000 (20:17 -0400)
src/hb-ot-layout-gsub-table.hh

index b10f9b6..49ada88 100644 (file)
@@ -506,6 +506,7 @@ struct Ligature
     }
     else
     {
+      c->buffer->merge_clusters (c->buffer->idx, skippy_iter.idx + 1);
       c->replace_glyph (ligGlyph);
 
       /* Now we must do a second loop to copy the skipped glyphs to