--nextPart14185278.I3AzHQ9Yqk Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 06 August 2008, Ariya Hidayat wrote: > > Yes, I actually have thought several times about this. How could the svg > > renderer on webkit help us ? Would be a doable (easy) way of stripping > > all the css + js things, just letting the part that is important for us > > and introducing it into kdelibs ? > > Why would you want to simplify the lib and put it in kdelibs? You can > just use QtWebKit as is. For an example, check out: > http://ariya.blogspot.com/2008/08/svg-to-png-using-qtwebkit.html of course, since QSvgRenderer also renders the tiger just fine, this is not= a=20 useful example. from the Plasma perspective, we also don't particularly have need for acces= s=20 to the DOM or scriptablity right now (though i'm sure we could find (ab)use= s=20 for them without too much trouble ;) as you note in your blog, things like blur are not implemented in QtWebkit'= s=20 SVG renderer either. so we're right back to asking, "when?" obviously the answer is "sooner than QSvgRenderer will" but that is still a= =20 bit vague. it also doesn't help at all with the performance (both speed and memory=20 overhead) question.=20 and i'm particularly unimpressed that we'll end up having to build up a set= of=20 API for what is really simple now (e.g. elementRect("anObjectid")) based on= =20 JavaScript right now (!!) and *eventualy* DOM (only minorly less "!!").=20 thankfully we wrapped QSvgRenderer in Plasma::SVG so we can indeed do this= =20 kind of thing without breaking any SVG usage in Plasma, but still .. uck. for Plasma to switch renderers, i'd really have to have a bettter idea of=20 performance and development timelines. otherwise it'll continue to be a "wa= it=20 and see" issue without us doing anything different on this front. having a coherent plan for vector graphics may be something that the Qt=20 Software engineering team would like to consider prioritizing and sharing w= ith=20 their downstream. it's only going to become an increasingly important area = in=20 the user interface side of life (and not just limited to SVG, of course) .. =2D-=20 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 --nextPart14185278.I3AzHQ9Yqk Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkiZ4sUACgkQ1rcusafx20Os4gCfcIup7KxVYzd5z1xVHLuQn4e0 8akAnjXjV6BbhnemE3FbfxzkfVXKux6V =36nQ -----END PGP SIGNATURE----- --nextPart14185278.I3AzHQ9Yqk--