rsvg-convert generates incorrect pdf for open paths with aligned ends
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
librsvg (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Create a simple svg with an open ended path e.g. '[' shape:
<svg version="1.1" width="420mm" height="297mm" viewBox="0 0 420 297" xmlns="http://
<path stroke-width="1" stroke="red" fill="none" d="M5,5 L25,5 L25,30 L5,30"/>
</svg>
Pass through rsvg-convert with following options:
> rsvg-convert -f pdf -o bug.pdf bug.svg
observe pdf renders image as a closed box.
The same thing happens if I use imkscape to do the conversion (I am led to believe that Inkscape uses librsvg2 under the hood?)
> inkscape bug.svg --export-
I have librsvg2 version 2.36.1-0ubuntu1 on Ubuntu 12.04 LTS
$ uname -a
Linux destroyer 3.2.0-37-generic #58-Ubuntu SMP Thu Jan 24 15:28:10 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
example broken pdf