[Libreoffice-bugs] [Bug 122964] New: Multiple moveTo has to be treated as lineTo in draw:enhanced-path

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Jan 25 12:03:08 UTC 2019


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

            Bug ID: 122964
           Summary: Multiple moveTo has to be treated as lineTo in
                    draw:enhanced-path
           Product: LibreOffice
           Version: Inherited From OOo
          Hardware: x86-64 (AMD64)
               URL: http://docs.oasis-open.org/office/v1.2/os/OpenDocument
                    -v1.2-os-part1.html#attribute-draw_enhanced-path
                OS: Windows (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 148650
  --> https://bugs.documentfoundation.org/attachment.cgi?id=148650&action=edit
with shape path "M 0 0 5 10 10 0 N"

According to ODF 1.2 section 19.145 the command M has the special rule, " If a
moveto is followed by multiple pairs of coordinates, they are treated as
lineto."
Therefore a path like e.g. "M 0 0 5 10 10 0 N" should be treated as "M 0 0 L 5
10 10 0 N".

The attached file should show a line from top-left to bottom-middle, then to
top-right. But the file has only an empty shape. You can use Calligra Karbon to
see, how the shape should be rendered.

-- 
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/20190125/f227f732/attachment.html>


More information about the Libreoffice-bugs mailing list