git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
poppler: re-enable poppler in the build system
[swftools.git]
/
lib
/
ttf.h
diff --git
a/lib/ttf.h
b/lib/ttf.h
index
9a76949
..
0d1ff50
100644
(file)
--- a/
lib/ttf.h
+++ b/
lib/ttf.h
@@
-122,7
+122,7
@@
typedef struct _ttfpoint {
} ttfpoint_t;
typedef struct _ttfglyph {
U16 advance;
} ttfpoint_t;
typedef struct _ttfglyph {
U16 advance;
- U16 bearing;
+ S16 bearing;
S16 xmin,ymin,xmax,ymax;
int code_size;
U8*code;
S16 xmin,ymin,xmax,ymax;
int code_size;
U8*code;
@@
-140,7
+140,7
@@
typedef struct _table_head {
} table_head_t;
typedef struct _table_post {
} table_head_t;
typedef struct _table_post {
- U16 italic_angle;
+ U32 italic_angle;
U16 underline_position;
U16 underline_thickness;
} table_post_t;
U16 underline_position;
U16 underline_thickness;
} table_post_t;
@@
-187,7
+187,7
@@
typedef struct _ttf {
char is_vertical;
S16 ascent;
char is_vertical;
S16 ascent;
- S16 descent;
+ S16 descent; // ymin, *not* negative ymin
S16 lineGap;
int num_glyphs;
S16 lineGap;
int num_glyphs;