Re:Chrome 59 has cross-platform headless support
by ashkulz on Thursday April 13, 2017 @12:14AM
(#14104116)
I'm the maintainer of wkhtmltopdf, and it's hopelessly out of date. There's still some bugs in the Chrome print-to-PDF support as support was added just a few days ago:
https://bugs.chromium.org/p/chromium/issues/detail?id=603559
Not sure if all the full functionality that wkhtmltopdf can be ported, it had patches to Qt/WebKit to enable that ... probably will need API enhancements in Chrome. Don't have the time right now, but I registered http://crhtmltopdf.org a while ago hoping that I'd get around to it.
Re:Chrome 59 has cross-platform headless support
by adam77 on Wednesday April 12, 2017 @10:33PM
(#14103672)
Sadly wkhtmltopdf's version of Webkit is ancient :( No flexbox, no es6, etc...
Re:Chrome 59 has cross-platform headless support
by codedokode on Thursday April 13, 2017 @06:17AM
(#14105583)
I think it just means that the site is poorly designed. I think websites should work correctly everywhere where CSS2.1 and ES3 is supported. Otherwise some users won't be able to view those sites.
You can download the two tools wkhtmltopdf and wkhtmltoimage which use WebKit to generate pdfs/images.