From MAILER-DAEMON Thu Aug 13 10:15:00 2009
Received: from mailman by lists.gnu.org with archive (Exim 4.43)
	id 1Mbb52-0000fL-GV
	for mharc-bug-plotutils@gnu.org; Thu, 13 Aug 2009 10:15:00 -0400
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1MaqPf-0003Ts-S9
	for bug-plotutils@gnu.org; Tue, 11 Aug 2009 08:25:12 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1MaqPX-0003LF-12
	for bug-plotutils@gnu.org; Tue, 11 Aug 2009 08:25:08 -0400
Received: from [199.232.76.173] (port=56508 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1MaqPV-0003Jn-C1
	for bug-plotutils@gnu.org; Tue, 11 Aug 2009 08:25:01 -0400
Received: from mx-out.forthnet.gr ([193.92.150.105]:40919)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <dds@aueb.gr>) id 1MaqPU-0003zH-7x
	for bug-plotutils@gnu.org; Tue, 11 Aug 2009 08:25:00 -0400
Received: from mx-av-03.forthnet.gr (mx-av.forthnet.gr [193.92.150.27])
	by mx-out-04.forthnet.gr (8.14.3/8.14.3) with ESMTP id n7BCOsUX031758; 
	Tue, 11 Aug 2009 15:24:54 +0300
Received: from MX-IN-01.forthnet.gr (mx-in-01.forthnet.gr [193.92.150.23])
	by mx-av-03.forthnet.gr (8.14.3/8.14.3) with ESMTP id n7BCOs2P008020;
	Tue, 11 Aug 2009 15:24:54 +0300
Received: from [62.74.231.123] (dumy123.panafonet.gr [62.74.231.123] (may be
	forged)) (authenticated bits=0)
	by MX-IN-01.forthnet.gr (8.14.3/8.14.3) with ESMTP id n7BCOmpD012599;
	Tue, 11 Aug 2009 15:24:50 +0300
Authentication-Results: MX-IN-01.forthnet.gr smtp.mail=dds@aueb.gr;
	auth=pass (PLAIN)
Message-ID: <4A81630B.8080706@aueb.gr>
Date: Tue, 11 Aug 2009 15:24:43 +0300
From: Diomidis Spinellis <dds@aueb.gr>
User-Agent: Thunderbird 2.0.0.22 (Windows/20090605)
MIME-Version: 1.0
To: bug-plotutils@gnu.org
Content-Type: multipart/mixed; boundary="------------080502090501060006000302"
X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6? (barebone, rare!)
X-Mailman-Approved-At: Thu, 13 Aug 2009 10:14:59 -0400
Cc: rsm@math.arizona.edu
Subject: [Bug-plotutils] libplot patches
X-BeenThere: bug-plotutils@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Bug reports for the GNU plotting utilities,
	including the libplot graphics export library."
	<bug-plotutils.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/bug-plotutils>,
	<mailto:bug-plotutils-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/bug-plotutils>
List-Post: <mailto:bug-plotutils@gnu.org>
List-Help: <mailto:bug-plotutils-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/bug-plotutils>,
	<mailto:bug-plotutils-request@gnu.org?subject=subscribe>
X-List-Received-Date: Tue, 11 Aug 2009 12:25:14 -0000

This is a multi-part message in MIME format.
--------------080502090501060006000302
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Hi,

The enclosed patch

- Corrects a long-standing Postscript bug by adding a colon missing from 
the BeginResource line.

- Fixes SVG compatibility by introducing a comma missing from the line 
output and required by the standard.  This causes problems with the 
Firefox browser.

Kind regards,

Diomidis Spinellis - http://www.spinellis.gr


--------------080502090501060006000302
Content-Type: text/x-diff;
 name="libplot.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="libplot.patch"

--- p_defplot.c	2009/08/11 12:13:47	1.1
+++ p_defplot.c	2009/08/11 12:15:48
@@ -464,7 +464,7 @@
 	/* PS [not EPS] file, include procset in document prolog */
 	{
 	  sprintf (doc_header->point, "\
-%%%%BeginResource procset %s %s 0\n", 
+%%%%BeginResource: procset %s %s 0\n", 
 		   PS_PROCSET_NAME, PS_PROCSET_VERSION);
 	  _update_buffer (doc_header);
 	  /* write out idraw-derived PS prologue (makes many definitions) */
@@ -568,7 +568,7 @@
 	   so that it will modify only the private dictionary */
 	{
 	  sprintf (doc_header->point, "\
-%%%%BeginResource procset %s %s 0\n", 
+%%%%BeginResource: procset %s %s 0\n", 
 		   PS_PROCSET_NAME, PS_PROCSET_VERSION);
 	  _update_buffer (doc_header);
 
--- s_path.c	2009/08/11 12:04:26	1.1
+++ s_path.c	2009/08/11 12:04:34
@@ -716,7 +716,7 @@
 	    {
 	      sprintf (page->point, "%.5g%s",
 		       dashbuf[i],
-		       i < num_dashes - 1 ? " " : "\"");
+		       i < num_dashes - 1 ? ", " : "\"");
 	      _update_buffer (page);
 	    }
 

--------------080502090501060006000302--



