openhtmltopdf icon indicating copy to clipboard operation
openhtmltopdf copied to clipboard

LGPL vs Apache 2

Open tonyschwartz opened this issue 1 year ago • 2 comments

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

tonyschwartz avatar Dec 27 '23 18:12 tonyschwartz

agree, or MIT also will be good :)

fengscript avatar Jan 31 '24 13:01 fengscript

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.

stefan6419846 avatar Mar 14 '24 12:03 stefan6419846