| Summary: | [EMF] PolyLineTo16 and probably other "*16" EMRs have swapped coordinates | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Valek Filippov <frob> |
| Component: | graphics stack | Assignee: | Not Assigned <libreoffice-bugs> |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | gang65 |
| Priority: | medium | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Crash report or crash signature: | Regression By: | ||
| Bug Depends on: | |||
| Bug Blocks: | 103859, 103903, 113868 | ||
| Attachments: |
EMF sample for PolyLineTo16
Screenshot of the sample opened in LO 7.2 and MS Paint side by side |
||
|
Description
Valek Filippov
2021-05-30 20:30:03 UTC
Created attachment 172459 [details]
EMF sample for PolyLineTo16
Created attachment 172460 [details]
Screenshot of the sample opened in LO 7.2 and MS Paint side by side
Checked with Bartosz. Coordinates are extracted properly. The problem seems to be the "Frame" dimensions in the header with a different ration than BBox dimentions. That impacts mapping of the PolyLineTo16 and does not impact 32-bit records (eg. Rectangle). The interesting thing is that MS Office is also scales PolyLineTo16 and doesn't scale Rectangle -- EMF sample looks in LO the same as in MSO. |