projects
/
m17n
/
libotf.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fd8098
)
(check_cmap_uvs): Update the member MGlyph.f.index.to.
author
handa
<handa>
Tue, 30 Dec 2008 23:30:35 +0000
(23:30 +0000)
committer
handa
<handa>
Tue, 30 Dec 2008 23:30:35 +0000
(23:30 +0000)
src/otfdrive.c
patch
|
blob
|
history
diff --git
a/src/otfdrive.c
b/src/otfdrive.c
index
0f7633e
..
763d847
100644
(file)
--- 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));