unsigned version;
unsigned numTables;
OTF_EncodingRecord *EncodingRecord;
- /* Mapping table: Unicode->GlyphID */
+ /* Mapping table: Unicode->GlyphID (for BMP only) */
unsigned short *unicode_table;
int max_glyph_id;
/* Mapping table: GlyphID->Unicode */
unsigned short *decode_table;
+ /* Index of the EncodingRecord for Unicode->GlyphID mapping.
+ -1 means that the font supports only Unicode BMP characters. */
+ int table_index;
} OTF_cmap;