Corrupt / Missing Fonts in PDF attached to email


When we attach PDFs to emails sent via ERPNext we’ve noticed the formatting is corrupt. We believe the solution for this has already been covered in other threads.

As well as this, we’re also seeing corrupt fonts when opening the emails on a mac. HAs anybody seen this before & how did you fix it please?


which version of wkhtmltox are you using?

It would be very helpful to tell us which versions of ERPNext, OS, wkhtmltopdf, and Frappe Framework you are using?

Thanks for getting back to us @trentmu & @RoseHosting!

I’m getting answers to those questions now & will get back to you later.


@trentmu @RoseHosting as promised:

wkhtmltopdf: 0.12.5 (with patched qt)
ERPNext: v12.4.2 (version-12)
Frappe Framework: v12.2.1 (version-12)
OS: Debian 9.12 stretch

Try to install the libssl1.0-dev package using the following command:

sudo apt-get install libssl1.0-dev

Thanks @RoseHosting - trying now!