From 7e7ecc846195095e0d3fa095e6f7622e3655705c 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