[Libreoffice-bugs] [Bug 125547] Arc is displayed as a straight line

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 28 17:11:09 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=125547

--- Comment #6 from Regina Henschel <rb.henschel at t-online.de> ---
The default start angle for an arc is -90deg, default end value is 0deg. So if
the shape wants to use a start angle of 0deg, it has to be written as direct
value into the file. That is not the case, at least LibreOffice gets a "not
set", when it opens the file. In case a value is not set, the default value is
used. So the adjustment values tell, that an arc from -90deg to -81deg has to
be drawn.

The commands given in the path describe an arc from (43200|21600) to
(24979|266) in a rectangle of left|top = (0|0) to right|bottom =
(43200||43200).

The effect of this mismatch is, that a huge width of the shape is calculated.
If you zoom out, you see the complete shape. Resize it to a reasonable width
and zoom back to 100%. Now you see, that the line is not straight, but that it
is an arc with start angle -90deg and end angle -81deg.

PowerPoint 365 initially evaluates the path and not the handles. LibreOffice
regenerates the path from the handles and thus has a different result.

I cannot produce such file from scratch. I suspect, that the angles have been
manually set using a script. I'm not sure if it's worth the effort to include
parts in the code that repair such inconsistencies within the file.

-- 
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/20190528/3e39032f/attachment.html>


More information about the Libreoffice-bugs mailing list