Qt SVG renderer

Sascha Peilicke sasch.pe at gmx.de
Mon Aug 4 16:08:55 BST 2008


Le Monday, 4. August 2008 16:39:06 Thiago Macieira, vous avez écrit :
> On Monday 04 August 2008 14:45:42 Sascha Peilicke wrote:
> > Le Monday, 4. August 2008 11:01:46 John Tapsell, vous avez écrit :
> > > > Thanks for the list. it looks like a fair amount of misrenderings can
> > > > be fixed in the svg itself - there is for example no reason why
> > > > weather-clouds- night.png contains a printer logo in the background
> > > > (which is apparently a layer labelled inactive, so it is not rendered
> > > > by inkscape).
> > >
> > > Would it be a simple sed script to remove inactive layers from all
> > > svgs?  We could have a kde_fix_svg  script or something
> >
> > And wouldn't that add some benefits like reduced SVG filesize and
> > loading/parsing time?
>
> Be careful not to throw away information that the artists use to edit the
> file.
>
> It's all and well to do a garbage collection, but not to make the file
> impossible to edit later.

It might be ok to do this only on releases where icons aren't supposed to 
change anyway? Would make sense to me, designers can then stay with their 
past-editing-history filled SVG files in trunk.
-- 
Sascha Peilicke
http://saschashideout.de




More information about the kde-core-devel mailing list