QT is compiled without wkhtmltopdf patches.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
wkhtmltopdf |
Fix Released
|
Unknown
|
|||
wkhtmltopdf (Debian) |
New
|
Unknown
|
|||
wkhtmltopdf (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Ubuntu server 12.04 x86_64
If you install wkhtmltopdf (0.9.9) (a tool to convert html documents into PDF's using QT's WebKit renderer) on a server without X already installed, it fails to function.
Reasoning from the --help:
Reduced Functionality:
This version of wkhtmltopdf has been compiled against a version of QT without
the wkhtmltopdf patches. Therefore some features are missing, if you need
these features please use the static version.
Currently the list of features only supported with patch QT includes:
* Printing more then one HTML document into a PDF file.
* Running without an X11 server.
* Adding a document outline to the PDF file.
* Adding headers and footers to the PDF file.
* Generating a table of contents.
* Adding links in the generated PDF file.
* Printing using the screen media-type.
* Disabling the smart shrink feature of webkit.
See second item.
The wkhtmltopdf package should either require X, or QT should be distributed with the aforementioned wkhtmltopdf patch (or a patched version should be available)
Changed in wkhtmltopdf: | |
status: | Unknown → Fix Released |
Changed in wkhtmltopdf (Debian): | |
status: | Unknown → New |
Workaround:
Use statically linked binary from the developer:
http:// code.google. com/p/wkhtmltop df/