Pdf's not looking nice as html documents (assume CSS missing)

I’m having the exact same issue- fonts load fine, but the CSS (grid/alignment) formatting is stripped out and the print is resized to ~65% of what it should be.

Per

and

(plus a few others)

I…

  • did the libssl1 install, then updated wkhtmltopdf to the latest version 0.12.5
  • added “http_port”: 443 to my site_config
  • reset server hostname via hostnamectl {sitename}
  • tried with all firewalls down
  • ran ‘bench use’ and ‘bench setup nginx’ as well as ‘use-url https’, etc
  • half a dozen other things mentioned in various other fixes; then reset, and cleanly did just the basics listed above again.

I got nothing. Still doing this with custom print formats as well as core- both saving to pdf as well as trying to actually print.

The ability to print invoices is kind of super business-critical if anyone has any suggestions, they are greatly longed for.

1 Like