From: handa Date: Tue, 30 Dec 2008 23:30:35 +0000 (+0000) Subject: (check_cmap_uvs): Update the member MGlyph.f.index.to. X-Git-Tag: REL-0-9-9~16 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=e55e9b91acc2d165000c16ca7044a74822248ae2;p=m17n%2Flibotf.git (check_cmap_uvs): Update the member MGlyph.f.index.to. --- diff --git a/src/otfdrive.c b/src/otfdrive.c index 0f7633e..763d847 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -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));