projects
/
m17n
/
libotf.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
*** empty log message ***
[m17n/libotf.git]
/
src
/
otf.h
diff --git
a/src/otf.h
b/src/otf.h
index
f490bf6
..
c3a307a
100644
(file)
--- a/
src/otf.h
+++ b/
src/otf.h
@@
-220,6
+220,8
@@
typedef struct
unsigned numTables;
OTF_EncodingRecord *EncodingRecord;
unsigned short *unicode_table;
unsigned numTables;
OTF_EncodingRecord *EncodingRecord;
unsigned short *unicode_table;
+ int max_glyph_id;
+ unsigned short *decode_table;
} OTF_cmap;
} OTF_cmap;
@@
-1231,6
+1233,14
@@
extern int OTF_drive_tables (OTF *otf, OTF_GlyphString *gstring,
char *gsub_features, char *gpos_features);
char *gsub_features, char *gpos_features);
+/*** (3-7) OTF_get_unicode() */
+
+/***
+ Return Unicode code point corresponding to the glyph-id CODE.
+ */
+
+extern int OTF_get_unicode (OTF *otf, OTF_GlyphID code);
+
/*** (4) API for error handling ***/
/*** (4-1) Error codes ***/
/*** (4) API for error handling ***/
/*** (4-1) Error codes ***/