Nice work tracking it down... here's the relevant change to the SVG
driver code:

Index: grace-5.1.22/src/svgdrv.c
===================================================================
--- grace-5.1.22.orig/src/svgdrv.c      2012-05-17 19:00:52.144748609 -0700
+++ grace-5.1.22/src/svgdrv.c   2012-05-17 19:00:54.000000000 -0700
@@ -745,7 +745,7 @@
             -tm->cxy, -tm->cyy,
             scaleval(vp.x), scaleval(vp.y));
 
-    fprintf(prstream, escape_specials((unsigned char *) s, len));
+    fprintf(prstream, "%s%s", escape_specials((unsigned char *) s, len));
 
     fprintf(prstream, "</text>\n");
 }

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1068095

Title:
  grace produces mangled svg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grace/+bug/1068095/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to