X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FInfoOutputDev.cc;h=6e2042636b5aee932841f92a08e32875ff217389;hb=0d226aa8874ab6d598c8429ab655edee14a72126;hp=a142c772d946f510822cb86a90625658d7eee00c;hpb=5ba24931ec3861ca5befcaae1502dd9105639b44;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]) {