]> git.sur5r.net Git - glabels/commitdiff
Removed the clip_to_outline code -- this seemed to cause an outline to be printed...
authorJim Evins <evins@snaught.com>
Mon, 29 Apr 2002 03:15:41 +0000 (03:15 +0000)
committerJim Evins <evins@snaught.com>
Mon, 29 Apr 2002 03:15:41 +0000 (03:15 +0000)
git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@9 f5e0f49d-192f-0410-a22d-a8d8700d0965

glabels1/src/print.c

index e9cbb9df9f30ee12c89420dac153ed385dd4ba94..29e8aa703ef15cec3703f2068ece9f58295902d7 100644 (file)
@@ -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.                                        */