Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #16992 dotted lines do not show up in SVG
Submitted: 2010-01-13 21:05 UTC
From: daveo Assigned: daveo
Status: Closed Package: Image_Canvas (version CVS)
PHP Version: 5.3.1 OS: Debian
Roadmaps: (Not assigned)    
Comments Add Comment Add patch

Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem : 4 + 43 = ?

 [2010-01-13 21:05 UTC] daveo (Steve Cho)
Description: ------------ Dotted lines appear in PNG, but do not appear in SVG. Test script: --------------- Use Veggerby's demo: Note the dotted lines in the bar graph connecting the markers (X, +, and star icons). Expected result: ---------------- Dotted lines appear in SVG. Actual result: -------------- No dotted lines in SVG.


 [2010-01-13 21:13 UTC] daveo (Steve Cho)
I looked at the XML in the SVG file. If you add the following entries to the "style" attribute, the dotted lines will work: stroke-linecap:square;stroke-linejoin:miter;stroke-miterlimit:1;stroke-dasharray:2,2;stroke-dashoffset:2;
 [2012-01-02 06:35 UTC] doconnor (Daniel O'Connor)
Hey Steve, can you perhaps fork / do a pull request on github for that specific change if possible? The sample link you mentioned is now 404 - is where the content lives.
 [2012-01-02 06:35 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Feedback
 [2012-01-04 23:59 UTC] daveo (Steve Cho)
Veggerby moved the examples to Github. The new location of my previous sample link is at I will get back to you about the GitHub fork, as I currently do not have access to the changes I made to the code. The fork won't happen till the 9th at the earliest.
 [2012-01-09 20:35 UTC] daveo (Steve Cho)
Hi Daniel: I made the fork and pull request. It's the first time I've done this. I am not sure if the operation was done correctly. In case it was done incorrectly. here is the link to the pull request:
 [2012-01-29 05:54 UTC] doconnor (Daniel O'Connor)
Thanks for that Steve - review comments on the pull request
 [2012-01-30 20:42 UTC] daveo (Steve Cho)
I made the suggested changes to the code. I couldn't figure out how to edit my own patch (if that's even possible), so I make another patch here
 [2012-01-31 14:15 UTC] doconnor (Daniel O'Connor)
-Status: Feedback +Status: Closed -Assigned To: +Assigned To: daveo