git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added cmap support
[swftools.git]
/
lib
/
ttf.h
diff --git
a/lib/ttf.h
b/lib/ttf.h
index
a22c87e
..
a5ca523
100644
(file)
--- a/
lib/ttf.h
+++ b/
lib/ttf.h
@@
-118,6
+118,9
@@
typedef struct _table_hea
#define GLYPH_ON_CURVE 0x01
#define GLYPH_CONTOUR_START 0x40
#define GLYPH_CONTOUR_END 0x80
#define GLYPH_ON_CURVE 0x01
#define GLYPH_CONTOUR_START 0x40
#define GLYPH_CONTOUR_END 0x80
+
+typedef U32 unicode_t;
+
typedef struct _ttfpoint {
int x,y;
U8 flags;
typedef struct _ttfpoint {
int x,y;
U8 flags;
@@
-153,6
+156,9
@@
typedef struct _ttf {
char is_vertical;
int num_glyphs;
ttfglyph_t*glyphs;
char is_vertical;
int num_glyphs;
ttfglyph_t*glyphs;
+
+ int unicode_size;
+ unicode_t*unicode;
U32 version;
} ttf_t;
U32 version;
} ttf_t;