Live data from Hacker News

OpenPDF 1.3.0

github.com

11–20 of 63 posts

Re: OpenPDF 1.3.0

#11
post #4

I'm one of the maintainers of OpenPDF. Please give it a try and post your feedback. Also, if you are using iText 1.2.x, it's time to update to OpenPDF, which should be compatible. https://github.com/librepdf/openpdf

Is there a version of PDFtk based on OpenPDF? PDFtk's original GCJ-compiled iText isn't well supported any more.

Re: OpenPDF 1.3.0

#12
post #10
post #2

Pdf so badly needs a standard open source reference implementation. the problem with java is that it isn’t easy to reuse in other programming environment... something in C, or anything that compiles through LLVM would probably be a better choice i think.

There's already plenty of open source implementations of PDF parsing: Ghostscript, MuPDF, XPDF, Poppler, Pdfium, just to name the first few that come to mind.

All do not support typewriter or forms. This makes easier to fill up forms

Re: OpenPDF 1.3.0

#13
post #11
post #4

I'm one of the maintainers of OpenPDF. Please give it a try and post your feedback. Also, if you are using iText 1.2.x, it's time to update to OpenPDF, which should be compatible. https://github.com/librepdf/openpdf

Is there a version of PDFtk based on OpenPDF? PDFtk's original GCJ-compiled iText isn't well supported any more.

Thanks for the suggestion. I have forwarded this request to Sid in PDF Labs.

Re: OpenPDF 1.3.0

#15
post #2

Pdf so badly needs a standard open source reference implementation. the problem with java is that it isn’t easy to reuse in other programming environment... something in C, or anything that compiles through LLVM would probably be a better choice i think.

the problem with java is that it isn’t easy to reuse in other programming environment.

Isn't one of the advantages of Java exactly being multi-platform?

Re: OpenPDF 1.3.0

#16
post #15
post #2

Pdf so badly needs a standard open source reference implementation. the problem with java is that it isn’t easy to reuse in other programming environment... something in C, or anything that compiles through LLVM would probably be a better choice i think.

the problem with java is that it isn’t easy to reuse in other programming environment. Isn't one of the advantages of Java exactly being multi-platform?

More that Java is a platform.

You target the JVM. So Java libraries are awkward to call from e.g. C++ or Python.

Re: OpenPDF 1.3.0

#17
post #4

I'm one of the maintainers of OpenPDF. Please give it a try and post your feedback. Also, if you are using iText 1.2.x, it's time to update to OpenPDF, which should be compatible. https://github.com/librepdf/openpdf

Great work, thank you for the effort you have put into this.

Re: OpenPDF 1.3.0

#19

New Pure JavasScript low-level implementation to create and edit PDF files: https://github.com/Hopding/pdf-lib

Tangential question: Do you know of a method to render PDFs to HTML canvas other than PDF.js?

PDF.js seems too slow for my purposes, though I haven't tested very thoroughly yet. I'm hoping with wasm Skia now available, there might be some other options coming.

Re: OpenPDF 1.3.0

#20
post #2

Pdf so badly needs a standard open source reference implementation. the problem with java is that it isn’t easy to reuse in other programming environment... something in C, or anything that compiles through LLVM would probably be a better choice i think.

Google's PDFium which is used in Android and ChromeOS is fast becoming the reference implementation to target: https://opensource.google.com/projects/pdfium

pdfium has literally no documentation. but the good thing is that it is c which can be called from many languages.
Post reply on HN