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)!
https://danfickle.github.io/pdf-templates/index.html
Other
1.93k stars 361 forks source link

LGPL vs Apache 2 #961

Open tonyschwartz opened 11 months ago

tonyschwartz commented 11 months ago

Friendly inquiry here... Why LGPL? PDFBox 2 is Apache 2. Have you considered Apache 2?

fengscript commented 10 months ago

agree, or MIT also will be good :)

stefan6419846 commented 8 months ago

According to the README, this project is more or less a fork of Flying Saucer: https://github.com/danfickle/openhtmltopdf/blob/open-dev-v1/README.md#credits As Flying Saucer is subject to LGPL-2.1-or-later, re-licensing would require the approval of all authors of the original package for the files which are reused - otherwise this violates the license conditions and voids the copyleft effect. At least LGPL-3.0 is considered compatible with the Apache-2.0 here, thus this should be no big deal. Using MIT is much more unlikely as this would drop all copyleft effects - even the weak ones implied by LGPL and Apache-2.0.

Disclaimer: IANAL.