bug-plotutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-plotutils] [PATCH] fix invalid SVG output


From: Clemens Ladisch
Subject: [Bug-plotutils] [PATCH] fix invalid SVG output
Date: Tue, 02 Dec 2008 08:57:58 +0100
User-agent: Thunderbird 2.0.0.18 (Windows/20081105)

libplot(SVG) generates invalid XML when another attribute follows the
stroke-dasharray attribute; the separating space character is missing.

--- plotutils-2.5.1.orig/libplot/s_path.c
+++ plotutils-2.5.1/libplot/s_path.c
@@ -716,7 +716,7 @@ write_svg_path_style (plOutbuf *page, co
            {
              sprintf (page->point, "%.5g%s",
                       dashbuf[i],
-                      i < num_dashes - 1 ? " " : "\"");
+                      i < num_dashes - 1 ? " " : "\" ");
              _update_buffer (page);
            }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]