tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dave Meikle (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TIKA-960) Duplicate letters in text extracted from PDF files
Date Mon, 23 Jul 2012 17:37:34 GMT

    [ https://issues.apache.org/jira/browse/TIKA-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13420806#comment-13420806

Dave Meikle commented on TIKA-960:

On the move so may be wrong but this sounds like overlapping text rendering in the PDF document
- i.e. bold/shadow effect created by rendering the text twice next to each other.

Extracting the contents with the suppressDuplicateOverlappingText property set[1] on the PDFParser
appears to extract the content directly.

Will take a closer look once get back online.


[1] http://tika.apache.org/1.2/api/org/apache/tika/parser/pdf/PDFParser.html#setSuppressDuplicateOverlappingText(boolean)
> Duplicate letters in text extracted from PDF files
> --------------------------------------------------
>                 Key: TIKA-960
>                 URL: https://issues.apache.org/jira/browse/TIKA-960
>             Project: Tika
>          Issue Type: Bug
>          Components: parser
>    Affects Versions: 1.2
>         Environment: Windows 7, Oracle JRE 1.6.0_32, 64-Bit Server VM
>            Reporter: Christof Luick
> When I extract the text from a given PDF (fussball.pdf, see link below) with Tika 1.2,
the text extractor returns duplicated letters for some words. The string "SCHULE/KINDERGRUPPE"
for example will be transformed into SSCCHHUULLEE//KKIINNDDEERRGGRRUUPPPPEE".
> The file "fussball.pdf" can be found at:
> http://www.pixelschleuder.de/misc/fussball.pdf
> I used the following command line for text extraction:
> java -jar tika-app-1.2.jar -t -eUTF-8 fussball.pdf > test.utf-8

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message