/* otf.h -- Header file for libotf (OpenType font library).
-Copyright (C) 2003, 2004, 2005, 2006, 2007
+Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009
National Institute of Advanced Industrial Science and Technology (AIST)
Registration Number H15PRO167
#endif
/* Version name of this library. */
-#define LIBOTF_VERSION "0.9.6"
+#define LIBOTF_VERSION "0.9.9"
/* Major version number. */
#define LIBOTF_MAJOR_VERSION 0
/* Minor version number. */
#define LIBOTF_MINOR_VERSION 9
/* Release (i.e. patch level) number. */
-#define LIBOTF_RELEASE_NUMBER 6
+#define LIBOTF_RELEASE_NUMBER 9
/***
Table of contents:
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;