Fiddeling with some SVGs, I just encountered a strange bug in rsvg-convert. When converting the atached SVG to PDF, the dashed line is missing. The following changes all make things work again: 1. remove opacity specification 2. change opacity specification to "1" 3. add opacity specification to enclosing group 4. removing the dashing specification 5. output to PNG instead of PDF I first encountered this with a cairo 1.2.2 setup, but just reproduced it with 1.2.4 as well. I'm running Gentoo linux, and first filed the bug as a Gentoo bug report: http://bugs.gentoo.org/show_bug.cgi?id=145090 From there I was sent to the rsvg product of the gnome bugzilla: http://bugzilla.gnome.org/show_bug.cgi?id=352906 But as the PNG output is all right, they decided it has to be a PDF backend issue, so I'm here now.
Created attachment 6695 [details] SVG input that causes this bug
Created attachment 6697 [details] PDF output with the dashed line missing Created using rsvg-convert -f pdf -o output.pdf input.svg
I used rsvg-convert 2.18.2 and cairo 1.5.14 to convert the SVG file to PDF and it appears to be correct. The dash line is visible. I also tested with cairo 1.4.10 and dashed line is visible. It looks like the bug has been fixed. At lot has changed in the PDF backend since 1.2.4. Please re-open if you still experience the same bug using cairo 1.5.14 or later.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.