Apache OpenOffice (AOO) Bugzilla – Issue 93417
SVG image severely corrupted directly after inserting
Last modified: 2017-05-20 10:45:14 UTC
Insert the SVG image into document and You can immediately see a severe deformation.
Created attachment 56186 [details] test case -image
I opened "buddy02.svg" with "2.4.1 Multilingual version German UI WIN XP: [680m17(Build9310)]" DRAW and did not see anything unexpected @tuharsky: Pls. read my comments in Issue 93418 and explain what "Insert the SVG image into document" means (step by step instruction ...!) PDF settings. Screenshot with damaged image view might be helpful. What Linux distribution / Version do you use? OOo from what source?
Well. 1, Run the Writer. You see a blank text document now. 2, Insert -> Image -> From file 3, Select the SVG file Now You can see the image inserted into document. Look at the screenshot.
Created attachment 56196 [details] screenshot -image screwed
OOo from Ubuntu 8.04 Hardy version: 2.4.1-1ubuntu2
Bug confirmed with Gentoo package app-office/openoffice-2.4.1.
Bug confirmed with Gentoo package app-office/openoffice-3.0.0.
Created attachment 59027 [details] Document that uses SVG arrows. The printed result is correct but no the display while editing (see the arrow lines in the left column).
I was able to replicate this issue using biohazard_01.svg with Ubuntu 8.10 and Open Office version 2.4.1-1ubuntu2. Opening the sample test case with Inkscape (version 0.46, Ubuntu 8.10) I notice that some objects are clones of an original within the image. I think this bug may be a problem with how Open Office imports cloned objects in an SVG image. After unlinking all clones (In Inkscape: Edit|Select All --> Toolbar|Unlink Clone) I was able to create an SVG which imports correctly into writer.
Created attachment 61295 [details] the original SVG file with all clones unlinked by Inkscape
Created attachment 61296 [details] Screenshot of the SVG image without clones imported to writer
Created attachment 61306 [details] Screenshot of the SVG image without clones imported to writer
@ wg: Please have a look.
This Issue requires more information ('needmoreinfo'), but has not been updated within the last year. Please provide feedback as requested and re-test with the the latest version of OpenOffice - the problem(s) may already be addressed. You can download Apache OpenOffice 3.4.1 from http://www.openoffice.org/download Please report back the outcome of your testing, so this Issue may be closed or progressed as necessary - otherwise the issue may be Resolved as Invalid in the future.
Created attachment 82597 [details] Inkscape vs. Writer Inkscape 0.48 AOO410m1(Build:9750) - Rev. 1566800 2014-02-11_04:11:01 - Rev. 1566981 Debian
Not a severe deformation, but white lines that affect the image.
This is due to system-specific Linux stuff - the Anitliased filled Polygons do not add nicely at their edges to fully filled pixels. There was another task existing for this... It means that TryDrawPolyLineDirect in vcl does return success, else RenderPolygonStrokePrimitive2D would be used. In the case the decomposition to filled polygons is used there is a fallback in PRIMITIVE2D_ID_POLYPOLYGONCOLORPRIMITIVE2D that additionally paints the decomposed polygons as hairlines when in AAed mode to fill those gaps. This is probably also needed in X11SalGraphics::drawPolyLine. Adding Herbert to CC... @Herbert: X11SalGraphics::drawPolyLine needs also to paint the original polygon as non-filled hairline when AA is on to ensure fill of the AA-gaps when the polygons are parts of a qide line output.
*** Issue 124060 has been marked as a duplicate of this issue. ***
Reset the assignee to the default "issues@openoffice.apache.org".