You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Tilman Hausherr (Jira)" <ji...@apache.org> on 2020/02/01 04:37:00 UTC

[jira] [Commented] (PDFBOX-4758) Text Extractor does not handle common typographic ligatures

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

Tilman Hausherr commented on PDFBOX-4758:
-----------------------------------------

As I wrote, the word file is incorrect so I don't expect anything good. But the libreoffice file should work. Could you please test with pdf-app of 2.0.18 ?

java -jar pdfbox-app-2.0.18.jar ExtractText -sort libreoffice-ligatures-test.pdf XXXX

where XXX is your output file (or the console "filename"). I get
{quote}conflict, difference, baffling, finished, affirmation
{quote}
and this works both with 2.0.18 and with 2.0.1 for me.

Do any error / warning / info log messages appear on your machine? I'm surprised that it doesn't work there because the fonts are embedded, so no troubles with missing fonts.

> Text Extractor does not handle common typographic ligatures
> -----------------------------------------------------------
>
>                 Key: PDFBOX-4758
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4758
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 2.0.1, 2.0.18
>            Reporter: Michael Reynolds
>            Priority: Major
>         Attachments: TestExtractText.java, libreoffice-ligatures-test.pdf, msword-ligatures-test.pdf
>
>
> TextExtractor mishandles typographic ligatures. I've attached test documents from both Microsoft Word and LibreOffice.
> I've checked PDFBox's output against xPDF on CentOS, and the ligatures are properly handled with that utililty, so it appears that this is a PDFBox defect.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org