Can you view svg files with Ristretto?

Allin Cottrell cottrell at wfu.edu
Wed Sep 26 16:08:50 CEST 2012


On Wed, 26 Sep 2012, Maximilien Noal wrote:

> On 26/09/2012 15:55, Allin Cottrell wrote:
>> On Wed, 26 Sep 2012, Guillaume Laville wrote:
>> 
>>> 2012/9/26 Sergio <sergiocmailbox-xfce at yahoo.com.br>
>>> 
>>>> Hi.
>>>> Some time ago I opened a bug report (closed already) to fix
>>>> ristretto.desktop MIME types list. And there was svg so I'm quite
>>>> certain
>>>> that it did display those files.
>>>> Now I'm in Fedora 17 with Ristretto 0.6.0 and it isn't displaying svg
>>>> files. Its window becomes unresponsive and has to be killed (and no, it
>>>> isn't loading the directory contents for the thumbnails).
>>>> 
>>>> So would this be some conflict with some library particular to F17 or is
>>>> it not working for anyone?
>>> 
>>> You need librsvg installed on your system to have SVG support in
>>> ristretto :
>>> This is a quick rendering library to generate a raster representation
>>> of a
>>> existing image.
>> 
>> Is that (SVG support) in git or something? In the source of the 0.6.3
>> release of ristretto (August 5 of this year) I can't find any reference
>> to use of librsvg. I think it's just not supported at this point.
>
> I don't know exactly how, but ristretto does display SVG images on my end.
> It's the latest ristretto version (0.6.3), with librsvg installed, on 
> Archlinux.

Oops, you're right, 0.6.3 does display SVG. I guess this must 
be courtesy of cairo (the ristretto binary is not linked 
against librsvg directly). I suppose the deciding factor is 
whether libcairo is built with SVG support?

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC



More information about the Xfce mailing list