[Libreoffice-bugs] [Bug 131085] New: SVG cross-hatch pattern appears with spurious mosaic of squares

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Mar 3 09:09:51 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=131085

            Bug ID: 131085
           Summary: SVG cross-hatch pattern appears with spurious mosaic
                    of squares
           Product: LibreOffice
           Version: 6.3.4.2 release
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: filters and storage
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: creamygoat at gmail.com

Description:
The output of any diagonal cross-hatch pattern from matplotlib, specifically
the 14 (geometric) lines in the "d" attribute of the "path" tag of the SVG
pattern definition matplotlib generates causes Writer, Impress, Draw etc. on my
Ubuntu 18.04 and 19.10->20.04rc systems to generate spurious solid filled
squared between some of the hatch lines. Removing, adding or editing line
segments of the pattern line path data suppresses the appearance of this bug in
an unpredictable manner.

Steps to Reproduce:
1. Have matplotlib.pyplot plot a bar graph, say, using the "x" hatch pattern.
2. Save the plot with plt.savefig("badhatch.svg", dpi=50)
3. (optional) Edit the SVG to include only the pattern and the hatched polygon.
4. Drag the SVG file into Writer, Impress or Draw.

Actual Results:
The hatching in the image appears with some of the squares bounded by crossing
diagonal lines filled with spurious squares, appearing as a giant 45 degree
mosaic of light and dark squares.

Expected Results:
The hatching should appear only as 45 degree crossing lines.


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: en-NZ (en_AU.UTF-8); Calc: group

Version: 6.3.4.2
Build ID: 1:6.3.4-0ubuntu0.19.10.1
CPU threads: 2; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-NZ (en_AU.UTF-8); Calc: group

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200303/71804c3d/attachment.htm>


More information about the Libreoffice-bugs mailing list