[webkit-dev] Using WebKit renderer to produce PDF output

Ariya Hidayat ariya.hidayat at trolltech.com
Thu Jun 18 01:54:46 PDT 2009


> I need to produce a tool that can generate PDFs from HTML. The best
> solution I can think of is to use WebKit's layout engine, and plug my
> own PDF generator in as a renderer backend. I don't want to reinvent
> the wheel though - so I'm asking here has this been done already, or
> are there other obvious solution out there that I'm missing?
> Any thoughts or suggestions appreciated.

With QtWebKit, that is easy. Check this project for an example:
http://code.google.com/p/wkhtmltopdf/



-- 
Ariya Hidayat, Software Engineer
Qt Software, Nokia Devices R&D


More information about the webkit-dev mailing list