SVG icons supported?

[email protected] (Ingo Brueckl) Mon, 10 Aug 2009 16:11:00 +0200
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bernd Eggink <[email protected]> writes:

> Are SVG icons supported in IceWM 1.3.4pre2? The documentation isn't
> clear about that, but I guess they aren't.

This hasn't changed since 1.3.3 (the version I use and know about). An icon
file for foo, size 16 will be searched for in the order

  foo_16x16.xpm
  foo.xpm
  foo.png

If a file was found, it will be loaded with gdk_pixbuf_new_from_file().

Thus: foo.svg won't be searched for. I assume gdk_pixbuf_new_from_file() is
able to load svg as well, so there is no abvious reason why svg isn't
supported. (To optimize svg support, the image loader should know about the
size and use gdk_pixbuf_new_from_file_at_size() instead which would require
several code changes.)

Ingo

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july