Problem converting some svgz

Dan d3vf4n at tutanota.com
Fri Sep 22 17:41:19 UTC 2023



> On Fri, Sep 15, 2023 at 07:25:44PM +0200, Dan via lyx-users wrote:
>
>> Yes, I did, that's why I suspect the problem is actually with these third-party apps rather than LyX.
>> Generate PDF files (attached) from redo.svgz
>>  1. Cairosvg: "cairosvg -f pdf -o redo_cairosvg.pdf lib/images/redo.svgz"
>>  2. Inkscape: "inkscape -D -o redo_inkscape.pdf lib/images/redo.svgz"
>>
>
> I could reproduce the problem with Inkscape. I can actually open the file in Inkscape and it looks fine (though there are Warning on the console about svg content).
> It's the export when it breaks completely. I suggest to file bug against inkscape itself.
>
Asked for peer confirmation on IRC as well. A person replied to me confirming the problem with version 1.3; but also told me that this problem does not happen in the upstream version (1.4-dev) of Inkscape.

That person recommended me to file a bug so that the "fix" is backported to the next release of Inkscape (1.3.1).


> For LyX purposes you could bypass this problem by using rsvg-convert instead of inkscape (works fine here).
> Another way could by to try luck in different vector editor, resave it and try again.
>
> Pavel
>
Thanks for the suggestion! I stopped using Inkscape because the packaged AppImage is quite slow compared to other options, such as cairosvg. Will give it a try.


Daniel.
--
Enviat amb Tutanota.


More information about the lyx-users mailing list