You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "John Hewson (JIRA)" <ji...@apache.org> on 2015/07/17 20:59:04 UTC
[jira] [Updated] (PDFBOX-2890) Wrapped lines in PDF files not
processed correctly
[ https://issues.apache.org/jira/browse/PDFBOX-2890?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
John Hewson updated PDFBOX-2890:
--------------------------------
Attachment: acrobat.png
PDFs don't contain newlines. I've attached a screenshot of the rich and plain text extracted by Acrobat, you'll see that they don't extract any newlines either, because they aren't there.
> Wrapped lines in PDF files not processed correctly
> --------------------------------------------------
>
> Key: PDFBOX-2890
> URL: https://issues.apache.org/jira/browse/PDFBOX-2890
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Reporter: James Baker
> Labels: wrapping
> Attachments: acrobat.png
>
>
> Text that wraps over multiple lines in PDF documents is not extracted correctly by PDFBox. The expected behaviour would be for it to be extracted as a single line, but instead a line break is inserted at each wrap point.
> This makes it hard, if not impossible, to reassemble text into it's intended form, as it is not known whether a line break in the extracted text is one that appeared in the document or one that was inserted by PDFBox.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org