The version of QT
that wkhtmltopdf
uses for the headless browser did not support this until very recently:
Here are bugs filed against the wkhtmltopdf
and QT
projects:
https://code.google.com/p/wkhtmltopdf/issues/detail?id=540
https://bugs.webkit.org/show_bug.cgi?id=56314#c6
I'm not sure if the latest wkhtmltopdf
binaries are built against a new enough QT
, but I'd download the very latest and test it out first:
http://wkhtmltopdf.org/downloads.html
If that still doesn't work, here's how to build a newer QT and compile a new wkhtmltopdf
binary:
http://natepinchot.com/2014/01/31/building-static-wkhtmltopdf/