Issue 123324 - [SVG] straight line written as command c in attribute d of path is not drawn
Summary: [SVG] straight line written as command c in attribute d of path is not drawn
Status: CLOSED FIXED
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: 4.0.1-dev
Hardware: All All
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-22 14:24 UTC by Regina Henschel
Modified: 2013-09-24 08:47 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Draw document with link to SVG graphic (14.94 KB, application/vnd.oasis.opendocument.graphics)
2013-09-22 14:24 UTC, Regina Henschel
no flags Details
linked graphic. Put it into same folder as document (554 bytes, image/svg+xml)
2013-09-22 14:25 UTC, Regina Henschel
no flags Details
Draw screenshot (129.67 KB, image/jpeg)
2013-09-22 18:33 UTC, Edwin Sharp
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2013-09-22 14:24:06 UTC
Created attachment 81599 [details]
Draw document with link to SVG graphic

Attached are a Draw document and a SVG graphic. Put them into the same folder. The Draw document has a link to the SVG graphic.

The SVG graphic has a straight line written as Bezier curve on the left side and a curved Bezier curve on the right side. Only the curved Bezier curve is drawn in the Draw document. The Draw document has in addition two black lines, which do exact the same commands as the SVG graphic but as native Draw objects.

It is important to fix this issue, because the popular Inkscape writes all drawings as path and do not use primitive lines for straight lines, and such graphics will be shown wrong in AOO.
Comment 1 Regina Henschel 2013-09-22 14:25:02 UTC
Created attachment 81600 [details]
linked graphic. Put it into same folder as document
Comment 2 Edwin Sharp 2013-09-22 18:33:02 UTC
Created attachment 81603 [details]
Draw screenshot
Comment 3 Edwin Sharp 2013-09-22 18:33:51 UTC
See attachment 81603 [details].

Rev. 1523756 Win 7
Comment 4 Regina Henschel 2013-09-22 18:47:25 UTC
Hi Edwin, please open the .svg graphic in a browser to see, how it should look. You should see a thick yellowish line on the left side.
The black lines are only there to proof, that AOO is able to draw such lines using its native draw format.
Comment 5 Regina Henschel 2013-09-22 18:48:24 UTC
BTW: You can use LibreOffice too, to see how the graphic should look.
Comment 6 Edwin Sharp 2013-09-22 18:53:25 UTC
Misunderstood description, sorry.
Comment 7 Armin Le Grand 2013-09-23 13:14:04 UTC
ALG: @Regina: I see no difference to current trunk version, baybe double to https://issues.apache.org/ooo/show_bug.cgi?id=122724 which I already fixed for 4.1 (see discussion and examples in forum thread http://forum.openoffice.org/en/forum/viewtopic.php?f=106&t=59348&p=278556#p278556). Have you checked with a current trunk version?
Comment 8 Armin Le Grand 2013-09-23 13:17:23 UTC
ALG: Checked with 4.0, I see the problem there. Looking at the SVG content makes me pretty sure that this is the problem in the task mentioned above which I already fixed.
Comment 9 Regina Henschel 2013-09-23 15:42:03 UTC
@Armin: Yes, on trunk it is fixed, I had only checked with AOO 4.0.1, but chosen the wrong version.

So I set it to WONTFIX for AOO 4.0.1 here, because we are already in rc3 and there were no external bug reports.
Comment 10 Armin Le Grand 2013-09-24 08:47:12 UTC
ALG: @Regina: Yes, thanks. I would have tried to get it to AOO401, but it's no regression andthe rules are strict ;-(