From 36bc656ed2f4592f58437035c0ca88444f8faa07 Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Mon, 29 Apr 2002 03:15:41 +0000 Subject: [PATCH] Removed the clip_to_outline code -- this seemed to cause an outline to be printed for some printers. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@9 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels1/src/print.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/glabels1/src/print.c b/glabels1/src/print.c index e9cbb9df..29e8aa70 100644 --- a/glabels1/src/print.c +++ b/glabels1/src/print.c @@ -78,7 +78,9 @@ static void draw_barcode_object (PrintInfo * pi, glLabelObject * object, glMergeRecord * record); static void draw_outline (PrintInfo * pi, glLabel * label); +#ifdef CLIP_LABEL static void clip_to_outline (PrintInfo * pi, glLabel * label); +#endif static void create_rectangle_path (GnomePrintContext * pc, gdouble x0, gdouble y0, @@ -351,7 +353,9 @@ print_label (PrintInfo * pi, if (outline_flag) { draw_outline (pi, label); } +#ifdef CLIP_LABEL /* FIXME: this may be causing problems for some people. */ clip_to_outline (pi, label); +#endif draw_label (pi, label, record); gnome_print_grestore (pi->pc); @@ -743,6 +747,7 @@ draw_outline (PrintInfo * pi, } +#ifdef CLIP_LABEL /*---------------------------------------------------------------------------*/ /* PRIVATE. Clip to outline. */ /*---------------------------------------------------------------------------*/ @@ -783,6 +788,7 @@ clip_to_outline (PrintInfo * pi, } } +#endif /*---------------------------------------------------------------------------*/ /* PRIVATE. Path creation utilities. */ -- 2.39.5