X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpdf%2FInfoOutputDev.cc;fp=lib%2Fpdf%2FInfoOutputDev.cc;h=6e2042636b5aee932841f92a08e32875ff217389;hb=ffb347c7cdd34ca9a5acbf34c70e7539f956fdb0;hp=a142c772d946f510822cb86a90625658d7eee00c;hpb=062138c37383ec48082037f0610b7c8da41f6d0d;p=swftools.git diff --git a/lib/pdf/InfoOutputDev.cc b/lib/pdf/InfoOutputDev.cc index a142c77..6e20426 100644 --- a/lib/pdf/InfoOutputDev.cc +++ b/lib/pdf/InfoOutputDev.cc @@ -144,8 +144,8 @@ static gfxfont_t* createGfxFont(FontInfo*src) double scale = 1; //printf("%d glyphs\n", font->num_glyphs); font->num_glyphs = 0; - font->ascent = fabs(src->descender); - font->descent = fabs(src->ascender); + font->ascent = fabs(src->ascender); + font->descent = fabs(src->descender); for(t=0;tnum_glyphs;t++) { if(src->glyphs[t]) {