(dump_cmap_table): Handle format 14.
authorhanda <handa>
Mon, 22 Dec 2008 05:53:33 +0000 (05:53 +0000)
committerhanda <handa>
Mon, 22 Dec 2008 05:53:33 +0000 (05:53 +0000)
example/otfdump.c

index 3452aae..f598d67 100644 (file)
@@ -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;