Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The pdftotext tool from xpdf does something like that. One option pads the output text with spaces to roughly match the layout of the pdf (the -layout option) and another option just strips the pdf formatting out (the -raw option).

Depending on the structure of the pdf, one or the either may give better output (the -layout output would need some more processing).



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: