Skip to content

Comment on Show HN: PDFLayoutTextStripper – Converts PDF to text while keeping the layoutparent

Comments

jlinkOP

During the development I compared my results with the ones of pdftotext utility and i obtained more or less similar results. The objective of my code was to have an equivalent tool easily embeddable in any java/android project and to learn more about apache pdfbox.

I imagine it's not an easy task guessing about proportionally spaced fonts, overlapping bounding boxes, columns, tables, wrapping, and so forth.

jlinkOP

yes, definitely not easy but fortunately pdfbox offers a solid base to start with.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.