From: Jim Evins Date: Mon, 29 Apr 2002 03:15:41 +0000 (+0000) Subject: Removed the clip_to_outline code -- this seemed to cause an outline to be printed... X-Git-Tag: glabels-2_3_0~869 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=36bc656ed2f4592f58437035c0ca88444f8faa07;p=glabels 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 --- 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. */