On Wed, 2010-01-27 at 18:20 +0000, Peter Clifton wrote: > Could you try applying the attached patch please. I think it is right, > but I've not actually tried it myself - I'm chasing another work task > which is keeping me busy!
More haste, less speed... try this one (now with content!)
>From 012a3c3ddf55b0260b296476fa7d047af88818f7 Mon Sep 17 00:00:00 2001 From: Peter Clifton <[email protected]> Date: Wed, 27 Jan 2010 18:17:45 +0000 Subject: [PATCH] libgeda: Fix postscript output issue with certain paths Ensure we always have a space before the "stroke" command. Reported-by: Donald Tillman <[email protected]> --- libgeda/src/o_path_basic.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libgeda/src/o_path_basic.c b/libgeda/src/o_path_basic.c index 991d6cc..3d8c40d 100644 --- a/libgeda/src/o_path_basic.c +++ b/libgeda/src/o_path_basic.c @@ -610,7 +610,7 @@ static void o_path_print_solid (TOPLEVEL *toplevel, FILE *fp, PATH *path, switch (section->code) { case PATH_MOVETO: - fprintf (fp, "closepath "); + fprintf (fp, "closepath"); /* Fall through */ case PATH_MOVETO_OPEN: fprintf (fp, "%i %i moveto", @@ -627,12 +627,12 @@ static void o_path_print_solid (TOPLEVEL *toplevel, FILE *fp, PATH *path, section->x3 - origin_x, section->y3 - origin_y); break; case PATH_END: - fprintf (fp, "closepath "); + fprintf (fp, "closepath"); break; } } - fprintf (fp, "stroke\n"); + fprintf (fp, " stroke\n"); } -- 1.6.5
_______________________________________________ geda-user mailing list [email protected] http://www.seul.org/cgi-bin/mailman/listinfo/geda-user

