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

Re: [E-devel] Using freedesktop.org .desktop files.



On Fri, 11 Aug 2006 00:53:28 GMT "jose_ogp@juno.com"
<jose_ogp@juno.com> wrote:

> 
> 	Carsten writes:
> 
> > XPM is not hard - loader is in imlbi2 - can be snarfed in.
> > svg - well - a bigger issue - but i think we can avoid it for
> > now and just display "default" icons in place. as long the the
> > "icon finder" routine will return null when no icon can be
> > found given the params - the code can fall back  :) 
> 
> 	I can port the xpm loader over if no one else wants to do
> so (I thought someone had done this already?).

Dunno if anybody else was doing, and I'm busy this month.  Feel free to
go ahead with that.

> 	As far as the svg loading:  We've already mentioned using
> librsvg for that - I can give it a try and see how well it can
> be made to work if no one else wants to do so..

Again, I have no objections.
 
> 	As to the issue of loading images at some specified size:
>   First, let me note that svg docs do have an intrinsic size that
> one can read form the doc.. it's just that the w, h can be given
> in all sorts of units -- inches, cm, pts,... even user coord units
> (aka pixels).

In the context of this thread, the freedesktop.org specs say that the
user specifies the size in pixels of icons that they want, and for
svg's, that means we need to render to that particular size.  There is
a default icon size of 48x48 if the user didn't specify a size.

Outside of the context of this thread, sure use the intrinsic size if
you need to.

Attachment: signature.asc
Description: PGP signature