(check_cmap_uvs): Update the member MGlyph.f.index.to.
authorhanda <handa>
Tue, 30 Dec 2008 23:30:35 +0000 (23:30 +0000)
committerhanda <handa>
Tue, 30 Dec 2008 23:30:35 +0000 (23:30 +0000)
src/otfdrive.c

index 0f7633e..763d847 100644 (file)
@@ -1421,6 +1421,7 @@ check_cmap_uvs (OTF_cmap *cmap, OTF_GlyphString *gstring, int idx)
   if (code == 0)
     return;
   gstring->glyphs[idx - 1].glyph_id = code;
+  gstring->glyphs[idx - 1].f.index.to = gstring->glyphs[idx].f.index.to;
   gstring->used--;
   memmove (gstring->glyphs + idx, gstring->glyphs + idx + 1,
           sizeof (OTF_Glyph) * (gstring->used - idx));