On Ubuntu 14.04 LTS, wkhtmltopdf was not outputting <pre> formatted sections of HTML the same way the browser would. The easiest fix is to install tts-mscorefonts:
sudo apt-get install ttf-mscorefonts-installer
Retry and it should work fine.
Some thoughts are better formed than others…
On Ubuntu 14.04 LTS, wkhtmltopdf was not outputting <pre> formatted sections of HTML the same way the browser would. The easiest fix is to install tts-mscorefonts:
sudo apt-get install ttf-mscorefonts-installer
Retry and it should work fine.