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

            Bug ID: 158178
           Summary: FILESAVE ODP: Writes wrong start coordinates in svg:d
                    attribute of a connector shape
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: rb.hensc...@t-online.de

Created attachment 190791
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190791&action=edit
Comparison of curved connector with Bézier curve

The attached file has a connector between the two rectangles. This connector
was copied and converted to a Bézier curve. Connector and Bézier curve should
produce the same svg:viewBox and svg:d attributes in file markup (besides +-
rounding differences). But you get for the connector:
    svg:d="M7000 7000c0-3001 8000-5501 8000 5000"
    svg:viewBox="0 0 8001 7609"
and for the Bézier curve:
    svg:viewBox="0 0 8000 7608"
    svg:d="M0 2608c0-3001 8000-5501 8000 5000"

The coordinates (0|2608] in the M command of the Bézier curve are correct, the
coordinates (7000|7000) in the M command of the connector curve are wrong.

Currently it has no large consequences, because LibreOffice recreates the
connector curve from the connection points ins svg:x1, svg:y1, svg:x2 and
svg:y2. But it will become a problem, if we start to use the svg:d attribute to
decide whether the curve form was created to be compatible with the OOXML
definitions or follow the LO way.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to