X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=blobdiff_plain;f=lib%2Fgfxfont.c;h=119f003d1ef17eb1890bf4b67b30ccd215a8aa5c;hp=e99816c997517fee2f301f59015c5845e79507dc;hb=4f2366641015f517c0e4f841b7ae6a9b90c7b184;hpb=a2a9f0eb220895ea2c5e904fda728b877577bbb4 diff --git a/lib/gfxfont.c b/lib/gfxfont.c index e99816c..119f003 100644 --- a/lib/gfxfont.c +++ b/lib/gfxfont.c @@ -697,7 +697,7 @@ ttf_t* gfxfont_to_ttf(gfxfont_t*font) } ttf->ascent = font->ascent; - ttf->descent = font->descent; + ttf->descent = -font->descent; ttf->lineGap = 0; ttf->full_name = strdup(font->id);