]> git.sur5r.net Git - glabels/commitdiff
Fixed incorrect clip region for rectangular templates.
authorJim Evins <evins@snaught.com>
Mon, 24 Oct 2011 00:08:41 +0000 (20:08 -0400)
committerJim Evins <evins@snaught.com>
Mon, 24 Oct 2011 00:18:35 +0000 (20:18 -0400)
src/cairo-label-path.c

index 9b63aee07aba2a0a1bf8481ed516b4cf33914f7a..3d0585b5176bd8663d8be85595e20956e0fe9e33 100644 (file)
@@ -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
         {