Moving Svgpart to kdegraphics

Allan Sandfeld Jensen kde at carewolf.com
Sun Nov 25 16:19:27 GMT 2007


On Sunday 25 November 2007 15:32, Aurélien Gâteau wrote:
> Allan Sandfeld Jensen wrote:
> > On Sunday 25 November 2007 00:05, Aurélien Gâteau wrote:
> >> Hello,
> >>
> >> I created a simple KPart to display SVG images. It's in
> >> playground/graphics/svgpart. Would it be ok to move it to kdegraphics
> >> now or am I really too late?
> >>
> >> I need this KPart to be able to display SVG images in Gwenview, but it's
> >> also useful from within Konqueror, that's why I haven't bundled it
> >> inside Gwenview code.
> >>
> >> If it's too late, I'll just disable SVG browsing in Gwenview for now.
> >
> > How does it compare to the old KSVG and KSVG2, where they never ported to
> > KDE4?
>
> Both KSVG from KDE3 and QSvgRenderer (the engine used in Svgpart) have
> trouble rendering complex images. I didn't do any serious comparison
> though, so I can't tell you which engine is better. The definitive solution
> is webkit, think of Svgpart as an interim one.
>
WebKit SVG _is_ KSVG...

> On the UI side, Svgpart is a bit nicer than the KSVG part: it does not
> provide buttons to display debug info and more importantly, it lets the
> user scroll the view (The KSVG part did not provide any scrollbar)
>
Great. I support moving it to kdegraphics.

I hope I will find time to finish image-loading of SVG using QSvgRenderer in 
KHTML, it will complete the support for SVG in background-images and stuff.

`Allan 




More information about the kde-core-devel mailing list