Skip to content

Instantly share code, notes, and snippets.

@Rajeshr34
Last active February 28, 2024 17:08
Show Gist options
  • Star 57 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
  • Save Rajeshr34/2e9b2438ff142e51c729b4b9b772680a to your computer and use it in GitHub Desktop.
Save Rajeshr34/2e9b2438ff142e51c729b4b9b772680a to your computer and use it in GitHub Desktop.
Wkhtmltopdf With Patched QT Setup Ubuntu 16+
cd ~
apt-get install libfontenc1 xfonts-75dpi xfonts-base xfonts-encodings xfonts-utils openssl build-essential libssl-dev libxrender-dev git-core libx11-dev libxext-dev libfontconfig1-dev libfreetype6-dev fontconfig -y
#https://github.com/wkhtmltopdf/wkhtmltopdf/releases
#replace arch
wget https://github.com/wkhtmltopdf/wkhtmltopdf/releases/download/0.12.5/wkhtmltox_0.12.5-1.bionic_amd64.deb
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
apt --fix-broken install
@pablosebastianr
Copy link

Freaking awesome. Just did this on Debian buster.
Thanks!

@sifat-bs23
Copy link

Thanks a Ton!!!!!!!

@jaydevvaghela943
Copy link

You save my day. Thanks Man

@sembonshem
Copy link

OMG, spent days trying out various settings but nothing worked , Thank you very much for this, worked like a charm

@kaiherrman
Copy link

OMG, spent minutes trying out various settings but nothing worked , Thank you very much for this, worked like a charm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment