From: Jim Evins Date: Mon, 24 Oct 2011 00:08:41 +0000 (-0400) Subject: Fixed incorrect clip region for rectangular templates. X-Git-Tag: glabels-3_0_1~62 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7d9b1744bce35ed788dfac176e995b81127999c0;p=glabels Fixed incorrect clip region for rectangular templates. --- diff --git a/src/cairo-label-path.c b/src/cairo-label-path.c index 9b63aee0..3d0585b5 100644 --- a/src/cairo-label-path.c +++ b/src/cairo-label-path.c @@ -146,7 +146,7 @@ gl_cairo_rect_label_path (cairo_t *cr, if ( r == 0.0 ) { - cairo_rectangle (cr, -x_waste, -y_waste, w+x_waste, h+y_waste); + cairo_rectangle (cr, -x_waste, -y_waste, w+2*x_waste, h+2*y_waste); } else {