From: cristy Date: Sun, 6 Jan 2013 14:30:18 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~4489 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=910b7964900a7c31280aa8aa9f92eb73e7ef80b2;p=imagemagick --- diff --git a/coders/pango.c b/coders/pango.c index 4a6f80472..1018e9cf2 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)+45.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)+45.0)/90.0+ + (image->resolution.y == 0.0 ? 90.0 : image->resolution.y)+45.0)/90.0+ 0.5)); } /*