[Libreoffice-bugs] [Bug 121845] New: custom shape with command U (angleellipse) is wrongly drawn
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 1 18:07:32 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=121845
Bug ID: 121845
Summary: custom shape with command U (angleellipse) is wrongly
drawn
Product: LibreOffice
Version: 6.3.0.0.alpha0+ Master
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: normal
Priority: medium
Component: Draw
Assignee: libreoffice-bugs at lists.freedesktop.org
Reporter: rb.henschel at t-online.de
Created attachment 147205
--> https://bugs.documentfoundation.org/attachment.cgi?id=147205&action=edit
Wrong rendering of angleellipse
The command U in the enhanced-path is wrongly drawn. You see the problem, if
you compare the endpoints of the curve with the handle.
The essential part in page 2 of the attached file is
<draw:enhanced-geometry draw:mirror-horizontal="false"
draw:mirror-vertical="false" svg:viewBox="0 0 21600 21600"
draw:text-areas="3000 3000 18000 18000" draw:type="non-primitive"
draw:modifiers="200" draw:enhanced-path="U 10800 10800 10800 10800 $0 270 F N">
<draw:handle draw:handle-position="10800 $0" draw:handle-polar="10800
10800"/>
</draw:enhanced-geometry>
The modifier is directly referenced in the polar-handle and in the
enhanced-path.
Expected behavior: The curve starts at the handle and goes clockwise to the
direction 270°, which is down vertical axis. That would generate a large arc.
Current behavior: The curve is drawn counter clockwise and it does not start at
the handle.
I had reported the problem already for Apache OpenOffice in
https://bz.apache.org/ooo/show_bug.cgi?id=121491
This error prevents a proper import and converting from ooxml-arc.
[The spec has radius and angle in draw:handle-position the other way round. But
because PowerPoint has it the same way as LibreOffice, that will likely be
changed in the spec and is not part of this issue.
http://docs.oasis-open.org/office/v1.2/os/OpenDocument-v1.2-os-part1.html#attribute-draw_enhanced-path]
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181201/b03777d2/attachment.html>
More information about the Libreoffice-bugs
mailing list