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

Maruan Sahyoun commented on PDFBOX-2991:
----------------------------------------

For comparison purposes please find below the extraction results of PDFBox and 
Adobe Reader DC


PDFBox 2.0.0 trunk
{quote}
Benjamin Costa Mesa, [email protected]
http://www.benjiman.com
Software developer with lots of  Java experience.
Have used Hibernate,  Guice, and more.
{quote}

Adobe Reader DC
{quote}
CostaMesa,California 
[email protected] 
http://www.benjiman.com 


Benjamin 


SoftwaredeveloperwithlotsofJavaexperience. 
HaveusedHibernate,Guice,andmore. 
{quote}

Adobe Reader DC separates the different blocks and text on different lines 
better but has the italic words concatenated where PDFBox has a better result.

> Improper word concatenation when extracting pdf
> -----------------------------------------------
>
>                 Key: PDFBOX-2991
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2991
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.0
>            Reporter: Ben McCann
>         Attachments: sample-resume.pdf
>
>
> The code below will output text for a pdf. Words that are on different lines 
> are concatenated together
>     PDDocument pdDoc = PDDocument.load(new File("sample-resume.pdf"));
>     StringWriter writer = new StringWriter();
>     new PDFTextStripper().writeText(pdDoc, writer);
>     pdDoc.close();
>     System.out.println(writer.toString());



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to