[ 
https://issues.apache.org/jira/browse/PDFBOX-4101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16354597#comment-16354597
 ] 

Tilman Hausherr commented on PDFBOX-4101:
-----------------------------------------

Try the sort option... however you still won't be satisfied... PDFBox doesn't 
know about columns. You as a human know this, but PDFBox doesn't have any 
heuristics to detect this. It can be done with "article beads" but your PDF 
doesn't have them. Same for the "D" - how would PDFBox "know" that it belongs 
to the very beginning?

> Word ordering / line detection failures in text extraction
> ----------------------------------------------------------
>
>                 Key: PDFBOX-4101
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4101
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.8
>            Reporter: Alexandre
>            Priority: Major
>         Attachments: fails_line_detection.pdf
>
>
> Dear Apache contributors,
> I am a (y) user of pdfbox mainly for the purpose of text extraction. The word 
> ordering is not correct for some cases and the line detection may fail too.
> Attachments:
>  * 1st page: the first letter D is not written before "uis sit amet..." but 
> at the end of the page ;
>  * 2nd page: the sentence "scolaire ferry" is just before "réouverture du 
> musée" which is wrong because it's not on the same column ;
> To manage these cases would be more than welcome :D A.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to