Conversation
|
Looking at it one last time: will require checking/updating either the |
|
I improved upon the original PR a bit. At the time of posting, I just hand-transplanted the code in plain text editor (I wasn't sure when I'll have free time, and was putting off sending my changes upstream few years already ...). Now I imported the official/your version into InteliJ, fixed a few mishaps (in mine fixes, of course ;-) and verified that it builds. |
|
@rausm Sorry for such a late reply. Could you rebase this for the latest master? |
f7efd80 to
9312988
Compare
In case it's not obvious, for now PDF with version 2.0 will not work, as iText uses just last char/digit from the version, and so the PDF is considered 1.0. Since we won't need to update past PDF-1.7, it should suffice until something other breaks ;-)
NB:
PS: I also integrated (into my version) IcePdf for preview (manages to correctly preview a lot of PDF's, SUPPORTS ZOOMED rendering !!! --> No more wasting of gigs of memory to preview large pdf in a 100x100px square; was the only option to get it working on 32bit JVMs).
If there's interest, let me know and I'll try to pull relevant changes out.