https://bugs.freedesktop.org/show_bug.cgi?id=82342

          Priority: medium
            Bug ID: 82342
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Other: (SVG import) Paths without explicit 'fill'
                    property disappears instead of displaying black.
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: explore...@gmail.com
          Hardware: Other
        Whiteboard: BSA PossibleRegression
            Status: UNCONFIRMED
           Version: 4.3.0.4 release
         Component: Libreoffice
           Product: LibreOffice

Problem description:
When importing an SVG image into a LibreOffice Writer or Impress document, the
image will display incorrectly, and also becomes incorrect after exporting the
document to PDF.

In particular, the SVG paths and objects without an explicit 'fill' property
disappears completely, instead of showing a black path.

--------------------------
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:svg="http://www.w3.org/2000/svg"; xmlns="http://www.w3.org/2000/svg";
width="300" height="300" id="svg2" version="1.1">
  <rect width="100" height="100" x="40" y="100" />
  <rect style="fill:#000000" id="rect2985-1" width="100" height="100" x="170"
y="100" />
</svg>
--------------------------

Steps to reproduce:
1. Save the test code above to test.svg
2. In LibreOffice Writer, choose Insert -> Image -> From File, and choose to
import the test.svg
3. Export the document with the image as PDF.

Current behavior:
Only the right black square is shown in the document and the PDF file. The left
one disappears.

Expected behavior:
Two black squares should be shown.

(This is another example image that triggers the bug when imported in
LibreOffice:
http://mirrors.creativecommons.org/presskit/buttons/88x31/svg/by-sa.svg)
Operating System: All
Version: 4.3.0.4 release
Last worked in: 4.2.3.3 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to