Html to pdf question

Given that GitHub - danfickle/openhtmltopdf: An HTML to PDF library for the JVM. Based on Flying Saucer and Apache PDF-BOX 2. With SVG image support. Now also with accessible PDF support (WCAG, Section 508, PDF/UA)! is based off Flying Saucer (the newer engine PDF engine in Lucee) and actively maintained, this sounds like a good idea.

The FS project isn’t so actively maintained GitHub - flyingsaucerproject/flyingsaucer: XML/XHTML and CSS 2.1 renderer in pure Java

Any comments @micstriit ?

Presumably it wouldn’t be so hard, to switch or even add the option of a third PDF engine?

The java source code is here GitHub - lucee/extension-pdf: extension that is implementing the pdf functions and tags, it might be a nice project for somebody in the community to pick up?

Lots of nice things like support for CSS REM units

replace flying saucer with active openhtmltopdf fork

https://luceeserver.atlassian.net/browse/LDEV-2968

1 Like