You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Andreas Lehmkühler (JIRA)" <ji...@apache.org> on 2013/04/06 16:11:15 UTC

[jira] [Closed] (PDFBOX-776) Text extraction gibberish after ghostscript update

     [ https://issues.apache.org/jira/browse/PDFBOX-776?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andreas Lehmkühler closed PDFBOX-776.
-------------------------------------

    Resolution: Won't Fix
      Assignee: Andreas Lehmkühler

The text can't be extracted as the pdf doesn't provide any readable character mapping. Even the "adobe test" fails. The reason is a malformed toUnicode mapping. I guess the ghostscript guys already fixed that.

                
> Text extraction gibberish after ghostscript update
> --------------------------------------------------
>
>                 Key: PDFBOX-776
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-776
>             Project: PDFBox
>          Issue Type: Bug
>          Components: FontBox, Text extraction
>    Affects Versions: 1.2.1
>            Reporter: Kevin Pearcey
>            Assignee: Andreas Lehmkühler
>         Attachments: test-870.pdf, test-871.pdf
>
>
> I have a test pdf document that is generated using ps2pdf from ghostscript.
> If I use ghostscript 8.70 then pdfbox will correctly extract the text
> If I use ghostscript 8.71 then pdfbox will not correctly extract the text (same byte count but gibberish characters).
> I will also note, that I had to update poppler to 0.14 to get it to correctly extract text from the test-871.pdf, the previous version would only extract the correct text from text-870.pdf.
> Attached will be the pdf generated using the same original postscript file but run using ghostscript 8.70 vs 8.71.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira