From: handa Date: Thu, 23 Jul 2009 07:57:08 +0000 (+0000) Subject: (OTF_cmap): New member table_index; X-Git-Tag: REL-0-9-10~6 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=917a74e05f71e87653b6def39802fab46f8f7f20;p=m17n%2Flibotf.git (OTF_cmap): New member table_index; --- diff --git a/src/otf.h b/src/otf.h index 7842ab1..8b88474 100644 --- a/src/otf.h +++ b/src/otf.h @@ -273,11 +273,14 @@ typedef struct 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;