Bug 118132

Summary: Bad rendering of SVG images
Product: LibreOffice Reporter: Thorsten Wagner <thorsten.wagner.4>
Component: DrawAssignee: Not Assigned <libreoffice-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal CC: xiscofauli
Priority: medium    
Version: 6.2.0.0.alpha0+   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Attachments: SVG image sample
Screenshot 1 (LO 5.4, image opened as drawing)
Screenshot 2 (LO 5.4, image inserted into drawing)
Screenshot 3 (LO 6.1 and LO from master, image opened as drawing)
Screenshot 4 (LO 6.1 and LO from master, image inserted into drawing)

Description Thorsten Wagner 2018-06-12 20:58:42 UTC
Description:
Some SVG images are not rendered correctly. A sample created with MatPlotLib is attached to show the issue.



Steps to Reproduce:
1. Open attached SVG image as drawing
2. Open new drawing and insert attached SVG image

Actual Results:  
(1) Using LO 5.4 rendering is correct when opening SVG image as drawing.
(2) Using LO 5.4 rendering is not corrent when insertig SVG image into an existing drawing.
(3) Using LO 6.1 as well as LO from master rendering is neither correct when opening SVG image as drawing nor when inserting SVG image into an existing drawing.

Issue exists with GL rendering and with native rendering.

Expected Results:
Rendering should be correct and the same when opening SVG image as drawing and when inserting SVG image into an existing drawing.


Reproducible: Always


User Profile Reset: Yes


OpenGL enabled: Yes

Additional Info:
(1) LO 5.4:

Version: 5.4.7.2.0+
Build ID: e52e5f310e8ce376f0462d6a6a5fbc1a61a148df
CPU threads: 8; OS: Mac OS X 10.11.6; UI render: GL; 
Locale: de-DE (en.UTF-8); Calc: group

(2) LO from master:

Version: 6.2.0.0.alpha0+
Build ID: faba9fa5d30290df5f8dd2bc0e97a287f20ef563
CPU threads: 8; OS: Mac OS X 10.11.6; UI render: GL; 
Locale: de-DE (en.UTF-8); Calc: group threaded


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:60.0) Gecko/20100101 Firefox/60.0
Comment 1 Thorsten Wagner 2018-06-12 20:59:55 UTC
Created attachment 142686 [details]
SVG image sample
Comment 2 Thorsten Wagner 2018-06-12 21:01:07 UTC
Created attachment 142687 [details]
Screenshot 1 (LO 5.4, image opened as drawing)
Comment 3 Thorsten Wagner 2018-06-12 21:01:49 UTC
Created attachment 142688 [details]
Screenshot 2 (LO 5.4, image inserted into drawing)
Comment 4 Thorsten Wagner 2018-06-12 21:03:06 UTC
Created attachment 142689 [details]
Screenshot 3 (LO 6.1 and LO from master, image opened as drawing)
Comment 5 Thorsten Wagner 2018-06-12 21:03:40 UTC
Created attachment 142690 [details]
Screenshot 4 (LO 6.1 and LO from master, image inserted into drawing)
Comment 6 Xisco FaulĂ­ 2018-06-13 01:01:09 UTC
Thanks for reporting the issue.
This is a dupe of bug 99115

*** This bug has been marked as a duplicate of bug 99115 ***