[Panel-devel] svg rendering

Sean Harmer sh at theharmers.co.uk
Thu Nov 1 15:03:34 CET 2007


On Thursday 01 November 2007, Riccardo Iaconelli wrote:
> On Tuesday 30 October 2007 13:16:43 Sven Burmeister wrote:
> > On Dienstag, 30. Oktober 2007, Sean Harmer wrote:
> > > A problem that I have just run into is that in Qt 4.3.x rendering of
> > > fonts is not supported outside of the GUI thread. This leads to
> > > problems when trying to render for e.g. the analog clock SVG in a
> > > separate thread.
>
> I don't think using fonts in SVGs are a good idea either. We should just
> say it's not supported, after all, fonts make many more problems than what
> they could ever solve, and in inkscape it's one click to turn text into
> paths.
I agree. Anyway, I've added a setHasText(bool) function to Plasma::Svg which 
disables threading for that particular Svg.

The only thing left to do on this now is to implement some smarter caching 
policy. I'll submit this shortly.

Cheers,

Sean

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Panel-devel mailing list