printf (")");
}
break;
+
+ case 6:
+ {
+ OTF_EncodingSubtable6 *sub6
+ = cmap->EncodingRecord[i].subtable.f.f6;
+ int j;
+
+ IPRINT ("(firstCode %d) (entryCount %d)",
+ sub6->firstCode, sub6->entryCount);
+ IPRINT ("(glyphIdArray");
+ for (j = 0; j < sub6->entryCount; j++)
+ {
+ if ((j % 16) == 0)
+ IPRINT (" ");
+ printf (" %3d", sub6->glyphIdArray[j]);
+ }
+ printf (")");
+ }
+ break;
}
indent -= 2;
for (j = 0; j < sub4->GlyphCount; j++)
READ_USHORT (stream, sub4->glyphIdArray[j]);
}
+ break;
+
+ case 6:
+ {
+ OTF_EncodingSubtable6 *sub6;
+ int j;
+
+ OTF_MALLOC (sub6, 1, " (EncodingSubtable6)");
+ cmap->EncodingRecord[i].subtable.f.f6 = sub6;
+ READ_USHORT (stream, sub6->firstCode);
+ READ_USHORT (stream, sub6->entryCount);
+ OTF_MALLOC (sub6->glyphIdArray, sub6->entryCount, " (GlyphCount)");
+ for (j = 0; j < sub6->entryCount; j++)
+ READ_USHORT (stream, sub6->glyphIdArray[j]);
+ }
}
}
return cmap;