Public bug reported:

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://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink";>
<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-pdf=bug.pdf

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

** Affects: librsvg (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "test case svg"
   https://bugs.launchpad.net/bugs/1183360/+attachment/3684818/+files/bug.svg

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

Title:
  rsvg-convert generates incorrect pdf for open paths with aligned ends

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

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

Reply via email to