From 9fd77aa1abaa1ccc0db3352e7fac2b9837a2f0df Mon Sep 17 00:00:00 2001 From: handa Date: Tue, 23 Dec 2008 01:14:42 +0000 Subject: [PATCH] (lookup_encoding_4): Fix typo. (get_uvs_glyph): Argument changed. (check_cmap_uvs): Adjusted for the above change. --- src/otfdrive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 1.7.10.4