XfceIconTheme png/svg preference

edscott wilson garcia edscott at xfce.org
Sat Nov 6 16:16:10 CET 2004

El sáb, 06-11-2004 a las 01:54, Jasper Huijsmans escribió:
> Brian J. Tarricone wrote:
> > hey all,
> > 
> > i'm finally getting around to fixing some XfceIconTheme problems, and i'm
> > setting it up to properly prefer correctly-sized non-svg files over .svg
> > files, since .svg files can take a bit longer to parse.
> > 
> > it's basically done, except for one thing i can't decide on.  say we have
> > a 48x48 .png icon and an .svg icon.  we want a 16x16 icon.  do we rescale
> > the .png down to 16x16, or return the .svg?  the questions are:
> > 
> It doesn't make much sense to prefer a non-scalable image format over a 
> scalable one when you have to scale, does it? ;-)
> So, unless there is a strong reason not to, prefering svg if there is no 
>   matching png is the most logical way of handling it, IMO.

ditto. Also, have a look at mime-icons/icon-theme: with some small
organization changes, the logic statements used can be simplified and 
the code made clearer. That might save you some work.



> 	Jasper
> _______________________________________________
> Xfce4-dev mailing list
> Xfce4-dev at xfce.org
> http://lunar-linux.org/mailman/listinfo/xfce4-dev

More information about the Xfce4-dev mailing list