Created attachment 94502 [details] SVG path not handled correctly Some closed path are handles as opened path, and groupped path as handles as ungroupped. See attachments for details
Created attachment 94503 [details] Screenshot of prevously attached SVG opened using Inkscape
Created attachment 94504 [details] Screenshot of prevously attached SVG opened using Draw You can notiche that: - Triangle path on righ are open (in inkscape they are closed) - The groupped object on the middle is rendered as rectangle (in inkscape is rendered as a triangle)
Created attachment 102907 [details] test.svg
Created attachment 102908 [details] Result importing test.svg - Text not imported - Arrows imported as two triangles and one square (see circle) - Vertical black line that's not present in svg - Varous black triangles that's not presents in svg
LAst comment refer to import using LibreOffice 4.2.5.2 win32
Reproducible when you do File > Open. Works correct when doing Insert > Image > from file... Tested using Ubuntu 14.04 with LibreOffice Version: 4.4.0.0.alpha0+ Build ID: b4ccde72b8e2e45e7276d5b08b182495a1b1a617 Kind regards, Joren
On Windows 7 sp1, 64-bit en-US with Version: 4.5.0.0.alpha0+ Build ID: b13534de022972131b46f93f5ada90af155eec9e TinderBox: Win-x86@39, Branch:master, Time: 2015-02-19_00:08:56 Locale: en_US no improvement with Vort's work on bug 64075 Remains correct when SVG image is inserted (Insert -> Image), but incorrect when filter opened into Draw (File -> Open, or Start Center launch).
Opened figures? It's simple bug: LibreOffice Draw requires "Z" (close figure command) at end of "d" attribute in <path> token. w3c SVG specification does not describe such a requirement. This is filled blue rectangle with horizontal line: <path style=" stroke:rgb(0%,0%,0%);fill-rule:evenodd;fill:rgb(0%,0%,100%);fill-opacity:1;" d="M 25 75 L 50 25 L 75 75 Z M 10 50 l 80 0 Z"/> This rectangle is not closed and respectively not filled: <path style=" stroke:rgb(0%,0%,0%);fill-rule:evenodd;fill:rgb(0%,0%,100%);fill-opacity:1;" d="M 25 75 L 50 25 L 75 75 Z M 10 50 l 80 0"/> Difference in one command: "Z" at end of path. I hope in the next release will be fixed.
*** This bug has been marked as a duplicate of bug 90168 ***
Migrating Whiteboard tags to Keywords: (filter:svgOpen) [NinjaEdit]