Created attachment 116136 [details] Original SVG document When importing an SVG with cropped elements, it will not be cropped in LibreOffice. For an example, I have attached some documents. The SVG document, graphic.svg, was viewed in Firefox and LibreOffice, and is compared. The light blue line appears cropped in software like Firefox and Inkscape, but is not cropped in LibreOffice. A screenshot of the problem area in Firefox 36 is shown in firefox.png and shows the correct result; it looks identical in Inkscape. However, it looks different when viewing in LibreOffice Writer. See text.odt for the document and writer.png for a screenshot of the problem area. Tested in LO 4.4.3.2 on Windows 7.
Created attachment 116137 [details] Screenshot of the SVG problem area in Firefox
Created attachment 116138 [details] Screenshot of the SVG problem area in LibreOffice
Created attachment 116139 [details] ODT document with the SVG included
Confirming that the wider "python" line stroke extends outside the clipPath when SVG image is inserted into writer or draw. However, the "matlab" line with width not set does not. The SVG seems correctly formed, with the <clipPath> element setting the mask contained within a <defs> segment, the id is defined only once and is applied to the two line <g> paths. Guess there could be an LO issue in determining overlap of clip for the "python" line width of 7 =-ref-= http://opengrok.libreoffice.org/xref/core/svgio/source/svgreader/svgclippathnode.cxx
*** This bug has been marked as a duplicate of bug 90168 ***
Migrating Whiteboard tags to Keywords: (filter:svgInsert) [NinjaEdit]