[
https://issues.apache.org/jira/browse/PDFBOX-2912?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Billow Gao updated PDFBOX-2912:
-------------------------------
Attachment: negativeStartX.patch
> PDFTextStripper: positionX < previous positionX case
> ----------------------------------------------------
>
> Key: PDFBOX-2912
> URL: https://issues.apache.org/jira/browse/PDFBOX-2912
> Project: PDFBox
> Issue Type: Improvement
> Components: Text extraction
> Affects Versions: 1.8.10
> Reporter: Billow Gao
> Attachments: negativeStartX.patch
>
>
> It's possible that positionX is smaller than previous character's positionX.
> Current PDFTextStripper will not add space and extract them to one word.
> Added a patch to compare positionX < previous positionX case which can insert
> a space.
> Disabled by default.
> Tested with 10002 PDF files which had the negative positionX issue. The
> result was improved for all of them.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]