On 20241006@22:52, Bill Allombert wrote: > Package: fim > Version: 0.7.1 > Severity: normal > > Hello Michele, > > fim does not seem to be able to display SVG even with inkscape installed, > even while it works when doing > inkscape logo.svg --export-filename=- --export-type=png | fim -i > > It would be nice if fim would support cairosvg in addition to inkscape for > displaying SVG. cairosvg does not require X11. > > Also the package should probably Suggests inkscape.
Hi Bill, In two recent commits I updated the invocation style of inkscape (version is determined at configure time) https://svn.savannah.nongnu.org/viewvc/fbi-improved?view=revision&revision=2258 and implemented cairosvg-based conversion https://svn.savannah.nongnu.org/viewvc/fbi-improved?view=revision&revision=2260 Now fim will use cairosvg if present, and as second priority, inkscape. Given the independence of cairosvg from X11, perhaps it's to be preferred over inkscape for the conversion. My overall opinion about conversions via external programs in fim is that I don't like them: too much space for inconsistencies of all sorts. I have them there mostly "to do the job" but if I find a possibly lightweight and stable library, I prefer that... ciao, Michele
signature.asc
Description: PGP signature