Bug 116623 - Some EMF image parts are incorrectly extended
Summary: Some EMF image parts are incorrectly extended
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
5.2.7.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: EMF-WMF
  Show dependency treegraph
 
Reported: 2018-03-25 15:16 UTC by johan
Modified: 2018-04-13 11:19 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
example files (53.35 KB, application/octet-stream)
2018-03-25 15:16 UTC, johan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description johan 2018-03-25 15:16:14 UTC
Description:
Migrated from bug 116335 (part 3).

Some parts of certain EMF images are not displayed correctly. An example is attached. When it is inserted into Writer or opened in Draw, the curves extend outside the plot area even though they should not.

Example contents:
- An EMF file 
- A screenshot showing this problem in Writer
- A reference rendering in Microsoft Word (note that this screenshot also contains another, unrelated image)


Please note that the same problem occurs in Inkscape.

Steps to Reproduce:
1. Download and unpack the example files
2. Insert the EMF file into Writer or open it in Draw
3. Look at the plot curve endpoints 
4. Compare with the reference rendering. You can also use Microsoft software to view the EMF file

Actual Results:  
The curves extend outside the plot area

Expected Results:
The curves should stay inside the plot area


Reproducible: Always


User Profile Reset: No



Additional Info:
Tested with:

Version: 6.0.2.1
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: group


Version: 5.2.7.2
Build ID: 1:5.2.7-1+deb9u2
CPU Threads: 4; OS Version: Linux 4.9; UI Render: default; VCL: gtk2; 
Locale: fi-FI (fi_FI.utf8); Calc: group


Version: 5.4.5.1
Build ID: 79c9829dd5d8054ec39a82dc51cd9eff340dbee8
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
Locale: fi-FI (fi_FI); Calc: group


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 johan 2018-03-25 15:16:39 UTC
Created attachment 140873 [details]
example files