Skip to content

(X)HTML+SVG

Friday, 24 February 2006  |  rwlbuis

Just a short note that I have experimented with svg embedded inline in xhtml. Taking the code from webkit+svg, I did a prototype bundling khtml2 and ksvg2 on top of kdom, and making sure the svg elements use render objects this time. I also used just one backend, which uses the qt4 painter. Even though I did not get to implement all features (markers, text), it clearly shows that inlining of svg in xhtml is very possible! Here are examples of rendering of xhtml+svg docs:

http://www.xs4all.nl/~rwlbuis/simpleCDF.png http://www.xs4all.nl/~rwlbuis/simpleCDF2.png

Cheers,

Rob.