From: handa Date: Mon, 22 Dec 2008 05:53:33 +0000 (+0000) Subject: (dump_cmap_table): Handle format 14. X-Git-Tag: REL-0-9-9~34 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=5e69503b22a704dfaf0c46627848f9ac27146060;p=m17n%2Flibotf.git (dump_cmap_table): Handle format 14. --- diff --git a/example/otfdump.c b/example/otfdump.c index 3452aae..f598d67 100644 --- a/example/otfdump.c +++ b/example/otfdump.c @@ -1377,6 +1377,23 @@ dump_cmap_table (int indent, OTF_cmap *cmap) sub12->Groups[j].startGlyphID); } } + break; + + case 14: + { + OTF_EncodingSubtable14 *sub14 + = cmap->EncodingRecord[i].subtable.f.f14; + int j; + + IPRINT ("(raw-data"); + for (j = 0; j < sub14->nbytes; j++) + { + if ((j % 16) == 0) + IPRINT (" "); + printf (" %02X", sub14->data[j]); + } + printf (")"); + } } indent -= 2;