28 Dec
2022
28 Dec
'22
1:36 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14251 --- Comment #12 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Pablo AB from comment #9)
As said on comment 6, PDF::FromHTML doesn't handle CSS.
I was able to convert an HTML to a PDF on Perl using PDF::WebKit which in turn uses wkhtmltopdf: https://stackoverflow.com/a/62443025/4970442
I used the repo version (old), which need an X Server installed, but the latest versions are headless (does not require X server).
It still requires too many things related to X, and systemd. Will go with something more lightweight. -- You are receiving this mail because: You are watching all bug changes.