From 7d9b1744bce35ed788dfac176e995b81127999c0 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sun, 23 Oct 2011 20:08:41 -0400 Subject: [PATCH] Fixed incorrect clip region for rectangular templates. --- src/cairo-label-path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- 2.39.5