I want to convert html to pdf, and I use wkhtmltopdf.
But print size is smaller than I supposed.
I want to try --disable-smart-shrinking
option but error occured like
$ xvfb-run -- /usr/bin/wkhtmltopdf --disable-smart-shrinking $INPUT $OUTPUT
The switch --disable-smart-shrinking, is not support using unpatched qt, and will be ignored.Loading page (1/2)
Printing pages (2/2)
Done
Maybe I have to install wkhtmltopdf with patched qt, but I don't know how to install.
I saw following size, but gitorious.org doesn't work.
My OS is Ubuntu14.04, and wkhtmltopdf version is 0.12.2.1
If you know other reason to be printed smaller, tell me please. thanks.
You can install wkhtmltopdf
with --disable-smart-shrinking
option from
wkhtmltopdf.
Download and Install it.
http://wkhtmltopdf.org/usage/wkhtmltopdf.txt
The Document say
wkhtmltopdf 0.12.2.1 (with patched qt)
and
--disable-smart-shrinking Disable the intelligent shrinking strategy used by WebKit that makes the pixel/dpi ratio none constant