Skip to content

Instantly share code, notes, and snippets.

Last active November 28, 2023 08:13
  • Star 56 You must be signed in to star a gist
  • Fork 15 You must be signed in to fork a gist
Star You must be signed in to star a gist
What would you like to do?
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
#replace arch
dpkg -i wkhtmltox_0.12.5-1.bionic_amd64.deb
apt --fix-broken install
Copy link

sivanaharon commented Oct 19, 2018

You are my hero. I spent so long trying to figure out how to do this properly and this script works perfectly!

Copy link

Man, you rule!

Copy link

thanks for help!

Copy link

Thank you!

Copy link

fabianof commented Oct 2, 2019

It worked like a charm. Thanks a lot.

Copy link

Perfect. Thanks for sharing.

Copy link

Wow! Thank you so much!

Copy link


Copy link

Thank you so much. I had an issue where wkhtmltopdf on Ubuntu generated a different style than the one on mac, this totally fixed it 👍👍

Copy link

Ur fucking genius man

Copy link

thanks for the help

Copy link

bf commented Dec 20, 2020

Thank you so much! It still worked with Ubuntu 18.04 at the end of 2020!

Copy link

Freaking awesome. Just did this on Debian buster.

Copy link

Thanks a Ton!!!!!!!

Copy link

You save my day. Thanks Man

Copy link

OMG, spent days 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