On 2026-08-17, Denis Fondras <[email protected]> wrote: > Hello, > > I am trying to use textproc/wkhtmltopdf to convert a document to PDF.
Strongly recommend not doing that, it uses special modified builds of very old qt5/qtwebkit that are not seeing security fixes etc, it is really only there for odoo rendering of specific generated html that afaik does not tickle the bugs too badly. Try headless chromium/iridium/etc instead, e.g. with these flags --headless --disable-gpu --print-to-pdf=/tmp/x.pdf https://www.openbsd.org/ N.B. unveil applies, so write to /tmp or ~/Downloads etc unless changing the permitted dirs.

