From: handa Date: Tue, 23 Dec 2008 01:14:42 +0000 (+0000) Subject: (lookup_encoding_4): Fix typo. X-Git-Tag: REL-0-9-9~26 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fd77aa1abaa1ccc0db3352e7fac2b9837a2f0df;p=m17n%2Flibotf.git (lookup_encoding_4): Fix typo. (get_uvs_glyph): Argument changed. (check_cmap_uvs): Adjusted for the above change. --- diff --git a/src/otfdrive.c b/src/otfdrive.c index 9286097..115cf9f 100644 --- a/src/otfdrive.c +++ b/src/otfdrive.c @@ -1337,7 +1337,7 @@ lookup_encoding_12 (OTF_EncodingSubtable12 *sub12, OTF_GlyphString *gstring) } static OTF_GlyphID -get_uvs_glyph (OTF_EncodingSubtable14 *sub14, int c1, int c2) +get_uvs_glyph (OTF_cmap *cmap, OTF_EncodingSubtable14 *sub14, int c1, int c2) { return 0; } @@ -1357,7 +1357,7 @@ check_cmap_uvs (OTF_cmap *cmap, OTF_GlyphString *gstring, int idx) break; if (i == cmap->numTables) return; - code = get_uvs_glyph (cmap->EncodingRecord[i].subtable.f.f14, c1, c2); + code = get_uvs_glyph (cmap, cmap->EncodingRecord[i].subtable.f.f14, c1, c2); if (code == 0) return; gstring->glyphs[idx - 1].glyph_id = code;