You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tim Allison (JIRA)" <ji...@apache.org> on 2017/05/02 12:35:04 UTC

[jira] [Commented] (PDFBOX-3774) Incorrectly extracted text (broken words)

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

Tim Allison commented on PDFBOX-3774:
-------------------------------------

I tried to save this as text in Adobe Reader, and AR crashed.  When I copy the text from Adobe Reader, I get "noncertifi ed".  When I search in AR, I get no results for "noncertified member", but I do get hits for "ed member".  

If you use PDFDebugger to look at page 7, you can see that a space is actually encoded between \336, the "fi" ligature, and "ed".

{noformat}
 [ (Each certi\336) 287 ( ) 33 (ed or noncerti\336) 287 ( ) 33 (ed member must pro) 18 (vide optimal professional service and ) ] TJ
    0 Tw
{noformat}

> Incorrectly extracted text (broken words)
> -----------------------------------------
>
>                 Key: PDFBOX-3774
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-3774
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.5
>         Environment: Darwin Ninos-MacBook-Pro.local 16.5.0 Darwin Kernel Version 16.5.0: Fri Mar  3 16:52:33 PST 2017; root:xnu-3789.51.2~3/RELEASE_X86_64 x86_64
>            Reporter: Nino Skopac
>         Attachments: Huge_book.pdf
>
>
> First reported on Tika JIRA (https://issues.apache.org/jira/browse/TIKA-2342), but tracked down to PDFBox:
> ~ Usage
> java -jar pdfbox-app-2.0.5.jar ExtractText Huge_book.pdf Huge-book-pdfbox.txt
> ~ Sample
> Original PDF text: "Each certified or noncertified member"
> Tika extracted text: "Each certifi ed or noncertifi ed member"
> Thank you,
> Nino



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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