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 2011/06/07 16:43:58 UTC

[jira] [Commented] (PDFBOX-1017) Some Ligatures in a PDF file are not recognised.

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

Andreas Lehmkühler commented on PDFBOX-1017:
--------------------------------------------

> 1. Is this a standard behaviour for PDF files created with OpenOffice or NeoOffice with usage of ligatures activated?
I don't know. I guess you have to ask the OO-people.

>2. If this is the case, is there a way to "teach" PDFBox to transform these ligatures to the respective two- or three-character resolutions in the same way >that PDFBox resolves the TeX-created ligatures fi, fl etc.? I would like to embed mappings like
>E035 -> fft
>E039 -> ft
>E03A -> ck
>into PDFBox, can this be done? 
At least everything which follows any rule could be implemented BUT IMHO it doesn't make sense in this case:
The portable document format doesn't ensure to get the text out of a pdf-file in a readable format. If all information is included you'll be on the lucky side, but if not that's bad luck.
In the given case you are able to provide a suitable mapping, because you as a human can simply compare the given pdf and the extracted text. But without having a standard mapping it is impossible to implement a piece of software, which don't have to be adjusted every time you'll find a new individual mapping.



> Some Ligatures in a PDF file are not recognised.
> ------------------------------------------------
>
>                 Key: PDFBOX-1017
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1017
>             Project: PDFBox
>          Issue Type: Improvement
>          Components: Text extraction
>    Affects Versions: 1.6.0
>         Environment: Mac OS X 10.6.7, java version "1.6.0_24"
>            Reporter: Thomas Fischer
>              Labels: textExtraction
>         Attachments: Ligatures.pdf, Ligatures.txt
>
>
> In the attached file, some ligatures (Qu, Th, ch, ck, fft, ft, tt) are not transformed but remain in the text with Unicode characters in the private range UE0xx: "...im rabbinisen Sritum in untersiedlien Kontexten und dort,..."

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira