Last time I looked into it, wkhtmltopdf didn’t look like a healthy project very much: still using ancient QtWebkit, not much development happening, etc. They have a pretty good writeup on the library’s status on their homepage https://wkhtmltopdf.org/status.html#summary, which didn’t exactly makes you want to start using it for new projects either. I can only recommend switching to a recent Chrome/Chromium as your rendering engine, if you can. There are a few libraries in Elixir-land that have support for it, and it might solve your rendering issues as well.