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_2_0~119 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7e7ecc846195095e0d3fa095e6f7622e3655705c;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 {