X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fttf.h;h=0d1ff50f5881c2b8b4797b16dfa5e96f821ddd59;hp=9a76949d13cc350cc27584564be94d0e8e7a0e47;hb=879d0eec420fe0fd5ddcd56c8fe62b82a6744edd;hpb=27a1543b139be30ef7e9d2ba21cb067f8ae685c0 diff --git a/lib/ttf.h b/lib/ttf.h index 9a76949..0d1ff50 100644 --- a/lib/ttf.h +++ b/lib/ttf.h @@ -122,7 +122,7 @@ typedef struct _ttfpoint { } ttfpoint_t; typedef struct _ttfglyph { U16 advance; - U16 bearing; + S16 bearing; 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 { - U16 italic_angle; + U32 italic_angle; U16 underline_position; U16 underline_thickness; } table_post_t; @@ -187,7 +187,7 @@ typedef struct _ttf { char is_vertical; S16 ascent; - S16 descent; + S16 descent; // ymin, *not* negative ymin S16 lineGap; int num_glyphs;