Bug 42404 - VIEWING: SVG graphics rendered improperly
Summary: VIEWING: SVG graphics rendered improperly
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
3.3.4 release
Hardware: Other Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-30 08:17 UTC by JRBugzilla101
Modified: 2011-12-29 15:55 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshot showing improperly rendered SVG graphics (165.06 KB, image/png)
2011-10-30 08:17 UTC, JRBugzilla101
Details
SVG (rectangle and star) generated by Inkscape (1.68 KB, image/svg+xml)
2011-11-01 14:46 UTC, JRBugzilla101
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JRBugzilla101 2011-10-30 08:17:33 UTC
Created attachment 52917 [details]
Screenshot showing improperly rendered SVG graphics

Problem description: In all LibreOffice (and OpenOffice) components, any inserted SVG graphic in which a stroke outline intersects itself is filled incorrectly. (Overlap regions are treated as outside.)

Steps to reproduce:
1. Create an SVG file. E.g. In Inkscape: draw a rectangle, select it, resize page to selection, save as Plain SVG. 
2. In Writer or Presentation, Insert > Picture > From File... .

Current behavior: Holes in rectangle outline.

Expected behavior: No holes in rectangle outline.

Platform (if different from the browser):  Initially observed in
OpenOffice on Ubuntu 10.04 (64-bit). Then tried in LibreOffice on 
Ubuntu 11.10 (64-bit). Same behavior found.
     
Browser: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20100101 Firefox/6.0
Comment 1 Rainer Bielefeld Retired 2011-10-30 23:47:32 UTC
Without the sample document (.svg) we can't do anything.

- Reported with Bug Submission Assistant -
Comment 2 JRBugzilla101 2011-11-01 14:46:34 UTC
Created attachment 53023 [details]
SVG (rectangle and star) generated by Inkscape
Comment 3 Rainer Bielefeld Retired 2011-11-11 09:35:52 UTC
NOT reproducible with "LibreOffice Portable 3.3.0  - WIN7  Home Premium (64bit) German UI [OOO330m19 (Build:6 Tag 3.3.0.4)]" 

Also looks fine with "LibreOffice 3.4.4  - WIN7 Home Premium (64bit) Spanish UI [OOO340m1 (Build:402)]" 
and
Server installation of Master "LibO-dev 3.5.0 – WIN7 Home Premium (64bit) English UI [(Build ID:  6b0de40-0bc4ff4-ca7e6f5-9125509-ce71330)]" (111111)

Linux Specific?

@JRBugzilla101@gmail.com:
Might have been only a glitch with your version? can you please test 3.4.4?

@tester8:
Can you please do a Linux test?
Comment 4 tester8 2011-11-11 13:32:53 UTC
Reproduced with

LO 3.4.4
Ubuntu 10.04.3 x86
Linux 2.6.32-34-generic Russian UI

One moment: on the picture star is inside rectangle.
Comment 5 tester8 2011-12-29 15:55:15 UTC
NOT reproduced with

LOdev 3.5.0beta2 
4ca392c-760cc4d-f39cf3d-1b2857e-60db978
Ubuntu 10.04.3 x86
Linux 2.6.32-37-generic Russian UI

Fixed in 3.5.