Bug 158262 - SVG generated by a handwriting tool shows "hollow"
Summary: SVG generated by a handwriting tool shows "hollow"
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
6.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL: https://ask.libreoffice.org/t/issues-...
Whiteboard:
Keywords: filter:svg
Depends on:
Blocks:
 
Reported: 2023-11-18 08:22 UTC by Mike Kaganski
Modified: 2023-11-21 13:20 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
An SVG showing as if its content is XORed (8.56 KB, image/svg+xml)
2023-11-18 08:22 UTC, Mike Kaganski
Details
versions: 5.0.0.1 & 7.5.8.2 vs Pinkcase (105.74 KB, image/png)
2023-11-20 19:07 UTC, nutka
Details
minimized example (257 bytes, image/svg+xml)
2023-11-20 20:10 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Kaganski 2023-11-18 08:22:23 UTC
Created attachment 190896 [details]
An SVG showing as if its content is XORed

The attachment is a minimized SVG from https://ask.libreoffice.org/t/issues-displaying-svgs/98205. It should have a single hand-written character "a"; it shows OK in e.g. Edge; but in Draw (or in Writer, if inserted), it shows as if its internals were removed.
Comment 1 Regina Henschel 2023-11-18 09:56:45 UTC
It looks like an error in interpreting fill-rule="nonzero".
Comment 2 Xisco Faulí 2023-11-20 13:48:57 UTC
Also reproduced in

Version: 7.3.0.0.alpha1+ / LibreOffice Community
Build ID: 229123ccc6f90ebf66b3e659bebbd53f8a9bdd3a
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 3 Xisco Faulí 2023-11-20 13:50:03 UTC
and

Version: 6.0.0.0.alpha1+
Build ID: 6eeac3539ea4cac32d126c5e24141f262eb5a4d9
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: x11; 
Locale: es-ES (es_ES.UTF-8); Calc: group threaded
Comment 4 nutka 2023-11-20 19:05:06 UTC
FWIW: also reproduced in 5.0.0.1
Comment 5 nutka 2023-11-20 19:07:02 UTC
Created attachment 190923 [details]
versions: 5.0.0.1 & 7.5.8.2 vs Pinkcase
Comment 6 Xisco Faulí 2023-11-20 20:10:05 UTC
Created attachment 190924 [details]
minimized example
Comment 7 Xisco Faulí 2023-11-20 20:12:26 UTC
In https://opengrok.libreoffice.org/xref/core/svgio/source/svgreader/svgpathnode.cxx?r=48ff87e1#62, basegfx::utils::importFromSvgD returns false and the path is not set