From dcf2b94b88479c283abdf7b65affd77ea5919ce9 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Tue, 3 Nov 2009 21:20:43 -0500 Subject: [PATCH] Don't allow clipping to affect outlines Remove clipping region before printing outlines of labels. --- src/print.c | 4 ++++ 1 file changed, 4 insertions(+) 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); } -- 2.39.5