From 5e69503b22a704dfaf0c46627848f9ac27146060 Mon Sep 17 00:00:00 2001 From: handa Date: Mon, 22 Dec 2008 05:53:33 +0000 Subject: [PATCH] (dump_cmap_table): Handle format 14. --- example/otfdump.c | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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; -- 1.7.10.4