'disable shrinking doesn't work wkhtmltopdf with xvbf on civiCRM and PDF shrink at unpredictable ratio

Output PDF doc gets shrinked to an unpredictable size.

I'm having this issue when generating PDFs docs with wkhtmltopdf.

I've already tried chaining the flag --disable-smart-shrinking and setting options to no success.

We are also using xvbf

I generated the same documents from a local installation chaining --disable-smart-shrinking and setting options and got the expected results. The docs were generated correctly.

The options don't seem to be read when including them in the command line provided to the Civi system.

Suggestions are very welcome.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source