Problem converting some svgz

Pavel Sanda sanda at lyx.org
Mon Sep 18 11:02:08 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.

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


More information about the lyx-users mailing list