[RFC] No preview for SVGZ files



First of all currently there is no support for SVGZ file in Nautilus.
See bug #4836 [1]

The solution proposed on this bug seems to work: applying the attached
patch to shared-mime-info, SVGZ file are recognized ad image/svg+xml in
Properties dialog.

But no preview in Nautilus... Can someone more experienced about
nautilus thumbnailer explore it?

Of course it could be an issue in librsvg, but rsvg-view [2] is able to
open and show it. Maybe the GDK pixbuf loader?

Oh, a SVGZ file from currently under development HighContrast theme is
attached too. To create a plain SVG file rename it as *.svg.gz, then
gunzip it. 

[1] On fd.o, of course, 'cause we depend on shared-mime-info.
  https://bugs.freedesktop.org/show_bug.cgi?id=4836

[2] latest cairo-only on head

Attachment: gnome-fs-client.svgz
Description: image/svg

diff -Naur /home/luca/Progetti/Programmi/cvs/FREEDESKTOP/mime/shared-mime-info/freedesktop.org.xml.in shared-mime-info/freedesktop.org.xml.in
--- /home/luca/Progetti/Programmi/cvs/FREEDESKTOP/mime/shared-mime-info/freedesktop.org.xml.in	2005-09-14 21:06:36.000000000 +0200
+++ shared-mime-info/freedesktop.org.xml.in	2005-10-22 20:23:55.000000000 +0200
@@ -1819,6 +1819,7 @@
       <match type="string" value="&lt;svg" offset="0:64"/>
     </magic>
     <glob pattern="*.svg"/>
+    <glib pattern="*.svgz"/> 
   </mime-type>
   <mime-type type="image/tiff">
     <_comment>TIFF image</_comment>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]