3 ms·
How does it read data from the PDF? Is there a PDF parser somewhere down inside the code?
by plicense 11y ago
How does it read data from the PDF? Is there a PDF parser somewhere down inside the code?
- _delirium 11y agoIt embeds the free-software version of JPedal: https://github.com/tabulapdf/tabula/tree/master/lib/jars https://github.com/tabulapdf/tabula/tree/master/lib/jars Unfortunately it looks like the developers of JPedal decided to discontinue the LGPL version and focus on the proprietary version, so it's unmaintained unless someone else picks up development.
- jazzido 11y agoHi. Tabula author here. We use JPedal for rendering pages as images. For parsing, we use Apache PDFBox. In the near future, we plan to render the PDFs client side with Mozilla's PDF.js
- jahewson 11y agoIt's worth mentioning that PDFBox 2.0 does a great job of rendering PDFs too.
- jazzido 11y agoPDFBox 1.8 less-than-great rendering engine forced us to include a separate library for that purpose only. Moving to PDFBox 2.0 is also on our roadmap. But the text extraction API in 2.0 has changed a lot too, so porting our engine would require quite a bit of effort. Friendly reminder: we're an MIT-licensed open source project, and we're always open to contributions!