From 2153ca9b3cb9616c616a4b58abb300de1f317541 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sun, 14 May 2006 20:56:44 +0000 Subject: [PATCH] Fix PostScript output of multiple charts. Thanks to John Darrington for reporting the bug. --- src/output/ChangeLog | 7 +++++++ src/output/postscript.c | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/output/ChangeLog b/src/output/ChangeLog index 5a8cdc77..af13b4b4 100644 --- a/src/output/ChangeLog +++ b/src/output/ChangeLog @@ -1,3 +1,10 @@ +Sun May 14 13:54:58 2006 Ben Pfaff + + * postscript.c: (ps_chart_finalise) Fix format of %%EndDocument + comment, which screwed up gv's idea of where one page ended and + the next one began. Thanks to John Darrington for pointing out + the bug. + Sun Apr 16 11:48:25 2006 Ben Pfaff Start reforming error message support. In this phase, we get rid diff --git a/src/output/postscript.c b/src/output/postscript.c index d2cff2c2..f212bb20 100644 --- a/src/output/postscript.c +++ b/src/output/postscript.c @@ -1145,7 +1145,7 @@ ps_chart_finalise (struct outp_driver *this UNUSED, struct chart *ch UNUSED) continue; fclose (ch->file); - fputs ("%%%%EndDocument\n" + fputs ("%%EndDocument\n" "end\n" "sp restore\n", x->file); -- 2.30.2