[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-plotutils] libplot patches
From: |
Diomidis Spinellis |
Subject: |
[Bug-plotutils] libplot patches |
Date: |
Tue, 11 Aug 2009 15:24:43 +0300 |
User-agent: |
Thunderbird 2.0.0.22 (Windows/20090605) |
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
--- 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);
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-plotutils] libplot patches,
Diomidis Spinellis <=