Qt SVG renderer

Aaron J. Seigo aseigo at kde.org
Fri Aug 1 04:55:18 BST 2008


On Thursday 31 July 2008, Matthew Woehlke wrote:
> Thiago Macieira wrote:
> > Unwilling to submit 112 MB of decompressed SVGs to our servers, the
> > developer spent the last day writing a function to decompress gzipped
> > data. So Qt 4.5 should support .svgz icons too. :-)

cool; one more class (KSvgRenderer) we can mark as deprecated and to be 
removed in KDE5 ;)

> That sounds like a nice new feature, thanks! (Ok, I haven't looked, does
> KDE currently handle the decompression? I know we have .svgz's in use
> today...)

KSvgRenderer, which is a QSvgRenderer subclass and adds exactly one feature: 
it detects whether or not the image is compressed and if it is decompresses it 
first and passes that in to the renderer...

-- 
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 Trolltech

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20080731/b48309a4/attachment.sig>


More information about the kde-core-devel mailing list