X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fttf.h;h=e5462e99cd5ed103663929063827e52e19c7193d;hp=9a76949d13cc350cc27584564be94d0e8e7a0e47;hb=bdad407fb79c2f7be9f3603694ebdeadc645b52d;hpb=27a1543b139be30ef7e9d2ba21cb067f8ae685c0 diff --git a/lib/ttf.h b/lib/ttf.h index 9a76949..e5462e9 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; @@ -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;