I have added wicked_pdf to my rails app with default options following the readme file (with the deviation being that I installed wkhtmltopdf via the osx installer).
When I render my page with the .pdf?debug=true option, the page looks exactly as it should.
Then when I leave out the debug option, it produces a PDF with a tiny version of the page. Like 1/16 of the size.
I use no options or configuration. Where am I going wrong? Where should I be looking?
Solved it by changing the wkhtmltopdf
version from 12.4 to an earlier version.
After a lot of googling others have reported a similar bug with version 12.4 on OSX.
Maybe the answer here saves someone else a few hours of googling.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With