From: Jim Evins Date: Wed, 4 Nov 2009 02:20:43 +0000 (-0500) Subject: Don't allow clipping to affect outlines X-Git-Tag: glabels-2_3_0~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=dcf2b94b88479c283abdf7b65affd77ea5919ce9;p=glabels Don't allow clipping to affect outlines Remove clipping region before printing outlines of labels. --- diff --git a/src/print.c b/src/print.c index b4b4df57..0279bd3d 100644 --- a/src/print.c +++ b/src/print.c @@ -509,6 +509,8 @@ print_label (PrintInfo *pi, /* of the current label */ cairo_translate (pi->cr, x, y); + cairo_save (pi->cr); + clip_to_outline (pi, label); cairo_save (pi->cr); @@ -528,6 +530,8 @@ print_label (PrintInfo *pi, cairo_restore (pi->cr); /* From special transformations. */ + cairo_restore (pi->cr); /* From clip to outline. */ + if (outline_flag) { draw_outline (pi, label); }