https://issues.apache.org/ooo/show_bug.cgi?id=125349
Issue ID: 125349
Issue Type: DEFECT
Summary: convert from svg to metafile drops element totally, if
point outside viewBox
Product: Draw
Version: 4.2.0-dev
Hardware: PC
URL: https://bugs.freedesktop.org/show_bug.cgi?id=71068
OS: Windows 7
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: editing
Assignee: [email protected]
Reporter: [email protected]
Created attachment 83773
--> https://issues.apache.org/ooo/attachment.cgi?id=83773&action=edit
three identical objects on different positions
This bug is related to https://bugs.freedesktop.org/show_bug.cgi?id=71068.
Insert the attached graphic into a Draw document. Convert it to metafile.
Notice, that the upper red area disappears.
The reason is a combination of filling with gradient and having a point outside
the viewBox.
In detail
the part
<path id="path55_out"
d="m 100,47
c -6,-20 5,-41 25,-47
3,-2 7,-2 11,-2"
style="fill:url(#path55_2_)" />
results in the absolute coordinates (in coordinate system of the viewBox)
100,7 start point
94,27 1. control of bezier curve
105,6 2. control of bezier curve
125,0 end point = start of next bezier curve
128,-2 1. control of bezier curve
132,-2 2. control of bezier curve
139,-2 end point
In svg it need no to be closed for filling.
The endpoint is outside the viewBox.
The green part has the same curves, but starts at x=20 instead of x=100. The
endpoint is still outside the viewBox. But here the filling is no gradient but
a plain color.
The lower red part has the same curves, but starts at y=147 instead of y=47.
Now all points are inside the viewBox.
--
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.