[Libreoffice-bugs] [Bug 122323] New: FILEOPEN PPTX large swing angles in arcTo command are not clipped to 360deg

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Dec 25 18:27:22 UTC 2018


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

            Bug ID: 122323
           Summary: FILEOPEN PPTX large swing angles in arcTo command are
                    not clipped to 360deg
           Product: LibreOffice
           Version: 6.3.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Impress
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 147817
  --> https://bugs.documentfoundation.org/attachment.cgi?id=147817&action=edit
arcTo command with large swing angle

The attached document contains a shape with swing angle 412deg on left side of
slide 1 and a shape with swing angle -400° on right side of slide 1. Slide 2
contains an image which shows how PowerPoint renders the shapes. The shapes
have a lineTo command to the center after the arcTo command, so that the end
point point of the arcTo command becomes visible.

It seems, that PowerPoint clips swing angles larger than 360deg to 360deg and
swing angles smaller than -360deg to -360deg. But LibreOffice seems to
calculate the resulting end angle and use it modula 360deg, likely implicit by
using sin and cos.

The command ARCANGLETO (G) does not belong to ODF but was introduced in
LibreOffice to be able to handle the OOXML command arcTo. Therefore it should
render such shapes the same as PowerPoint in edge cases too.

-- 
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/20181225/3de0b8b3/attachment-0001.html>


More information about the Libreoffice-bugs mailing list