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 2014/05/05 19:58:17 UTC

[jira] [Resolved] (PDFBOX-2058) The text of pdfs using Type1C can't be extracted correct

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

Andreas Lehmkühler resolved PDFBOX-2058.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   1.8.6

I guess we are done here. 
BTW: in the case of the referenced pdf we are better than acrobat reader, which can't extract those special characters :-)


> The text of pdfs using Type1C can't be extracted correct
> --------------------------------------------------------
>
>                 Key: PDFBOX-2058
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-2058
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.8.4, 1.8.5, 1.8.6, 2.0.0
>            Reporter: Andreas Lehmkühler
>            Assignee: Andreas Lehmkühler
>              Labels: type1cfont
>             Fix For: 1.8.6, 2.0.0
>
>
> PDFBOX-1770 introduced a regression with pdfs using a Type1C font. Special characters incluing ligatures can't be extracted anymore.
> The issue was originally posted on users@pdfbox:
> I ran pdfbox-app version 1.8.5 over the PDF Greenstone manual:
> http://www.greenstone.org/docs/greenstone3/manual.pdf
> It removed the fl and fi prefixes from words like "flexible", "file" and
> "first". Perhaps these genuine word prefixes have been confused with f-based
> ligatures?
> We were previously using a pdfbox-app 1.5.* version and wanted to switch over to
> a newer one. Version 1.8.2 does not have this issue.
> The command we ran:
> java -cp "/path/to/pdfbox-app-1.8.5.jar" -Dline.separator="<br />"
> org.apache.pdfbox.ExtractText -html "/path/to/manual.pdf"
> Relevant excerpts from the output generated:
> - "improve exibility, modularity, and extensibility"
> the 2nd word should be "flexibillity"
> - "Table 1 shows the le hierarchy for Greenstone3. The rst part shows the common"
> The words "file" and "first" have been truncated to "le" and "rst"
> I believe this is rather a bug than intended behaviour.



--
This message was sent by Atlassian JIRA
(v6.2#6252)