[ https://issues.apache.org/jira/browse/TIKA-1753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14907917#comment-14907917 ]
Tim Allison commented on TIKA-1753: ----------------------------------- Y. I defer to [~lehmi] on PDFBOX-2991 for whether this is fixable or not. > Improper word concatenation when extracting pdf > ----------------------------------------------- > > Key: TIKA-1753 > URL: https://issues.apache.org/jira/browse/TIKA-1753 > Project: Tika > Issue Type: Bug > Components: parser > 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 > CaptureXMLHandler handler = new CaptureXMLHandler(); > byte[] bytes = IOUtils.toByteArray(new FileInputStream(new > File("resume.pdf"))); > new PDFParser().parse(new ByteArrayInputStream(bytes), handler, new > Metadata(), new ParseContext()); > System.out.println(handler.toString()); -- This message was sent by Atlassian JIRA (v6.3.4#6332)