-
-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Switch PDF dependency from iText to OpenPDF #788
Comments
Are there any plans to migrate to OpenPDF?
The cause in this particular case is that the method |
@mpe85 There is an API change in the new OpenPDF. However, maybe upgrading isn't so much work, it could be just to change a few variable definitions from Object to the new and more logical object type. It's part of the modernization efforts in OpenPDF. This should benefit javamelody also. |
I just saw that javamelody also uses itext-rtf which is not present anymore in openpdf 1.3. So the upgrade is not trivial I guess. |
I propose that Javamelody removes support for RTF, since it is an ancient format. RTF support was removed from OpenPDF, so that OpenPDF could focus on being good at editing and creating PDF files. Then Javamelody can upgrade to OpenPDF, and get a maintained library to export PDF files with. |
@andreasrosdal I second that emotion |
itext-rtf is used only in an almost obsolete part of javamelody (in the javamelody-swing module for the "Desktop" link in the monitoring report, to launch a Swing UI using JavaWebStart for those who have not forgotten about it). You can forget about that javamelody-swing module. |
Well then, I started off a PR to replace the itext dependency with openpdf. All unit tests seem to be OK. Feel free to complement/edit it. |
Given that:
then I have changed the javamelody code (6532b4a), so that it is compatible with openpdf 1.3.11, while it still compiles and is fully compatible with itext 2.1.7. This change was done by never using |
Any news on this? |
@andreasrosdal |
…patibility with itext 2.1.7
Switch PDF dependency from iText to OpenPDF. (Reopening #780.)
https://github.com/librepdf/openpdf
The text was updated successfully, but these errors were encountered: