From 917a74e05f71e87653b6def39802fab46f8f7f20 Mon Sep 17 00:00:00 2001 From: handa Date: Thu, 23 Jul 2009 07:57:08 +0000 Subject: [PATCH] (OTF_cmap): New member table_index; --- src/otf.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 1.7.10.4