render SVGs with system colors

Aaron J. Seigo aseigo at kde.org
Mon Sep 27 23:09:16 CEST 2010


On Monday, September 27, 2010, Manuel Mommertz wrote:
> So would do you think of this? Should we try to get something like this in
> libplasma? Or is it to exotic? Maybe someone even has an idea how we can
> archive this in a clean way. Let me know. :)

i think the idea is good, and the overhead should be acceptable for the svg's 
that use it. the file will only be read once, the expensive bit will be the 
xml parsing being done twice.

the skel can be cached as well, created on first use and then kept around 
until the theme changes.

have you done any timings to test how long the DOM parsing takes on svgs we 
have in the theme?

(i'd also recommend putting the patch on reviewboard where it is easier to go 
through these kinds of things.)

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20100927/fac14b00/attachment.sig 


More information about the Plasma-devel mailing list