From: cristy Date: Wed, 2 Jan 2013 19:20:30 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4500 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65ea4d44c27f5484bbcf43c06ef3e583b2e483c1;p=imagemagick --- diff --git a/coders/pango.c b/coders/pango.c index 945ac0380..7442d8d17 100644 --- a/coders/pango.c +++ b/coders/pango.c @@ -357,7 +357,7 @@ static Image *ReadPANGOImage(const ImageInfo *image_info, { image->columns-=2*page.x; pango_layout_set_width(layout,(int) ((PANGO_SCALE*image->columns* - (image->resolution.x == 0.0 : 90.0 : image->resolution.x)+36.0)/90.0+ + (image->resolution.x == 0.0 : 90.0 : image->resolution.x)+45.0)/90.0+ 0.5)); } if (image->rows == 0) @@ -369,7 +369,7 @@ static Image *ReadPANGOImage(const ImageInfo *image_info, { image->rows-=2*page.y; pango_layout_set_height(layout,(int) ((PANGO_SCALE*image->rows* - (image->resolution.y == 0.0 : 90.0 : image->resolution.y)+36.0)/90.0+ + (image->resolution.y == 0.0 : 90.0 : image->resolution.y)+45.0)/90.0+ 0.5)); } /*