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

            Bug ID: 142571
           Summary: [EMF] PolyLineTo16 and probably other "*16" EMRs have
                    swapped coordinates
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: graphics stack
          Assignee: [email protected]
          Reporter: [email protected]

Description:
Despite [MS-EMF] description of the aPoints in PolyLineTo16 EMR as
"aPoints (variable): A Count length array of PointS objects ([MS-WMF] section
2.2.2.16, which specifies the array of points."
in case of EMF coordinates of the PointS come in the swapped order.

LO seems to read it the same way or WMF and EMF which creates an interesting
effect on the ratio.

Steps to Reproduce:
Open attached EMF sample.

Actual Results:
LO draws a red frame in "portrait" orientation.

Expected Results:
The frame should have "landscape" orientation.


Reproducible: Always


User Profile Reset: No



Additional Info:
That probably impacts other "16-bit" EMRs too.

This problem is found during analysis of tdf#103903, fixing this will improve
(or fix) 103903 too.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to