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.
It looks like an error in interpreting fill-rule="nonzero".
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
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
FWIW: also reproduced in 5.0.0.1
Created attachment 190923 [details] versions: 5.0.0.1 & 7.5.8.2 vs Pinkcase
Created attachment 190924 [details] minimized example
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
I just encountered this issue also in LibreOffice 24.2 This is a >> crucial << rendering issue, that currently defeats the benefits of SVGs e.g. with text in widely used Google Fonts (which contain path overlaps) converted to curves for compatibility.