You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Martijn Brinkers (JIRA)" <ji...@apache.org> on 2010/12/01 12:09:13 UTC

[jira] Commented: (PDFBOX-860) 'fi' getting converted to '?'

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

Martijn Brinkers commented on PDFBOX-860:
-----------------------------------------

I think this only happens with documents that encode "fi" as the unicode "fi" character (which is one character, not two). If ICU jar is available, the unicode text is normalized and "fi" is converted to two characters "f" and "i".

> 'fi' getting converted to '?'
> -----------------------------
>
>                 Key: PDFBOX-860
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-860
>             Project: PDFBox
>          Issue Type: Bug
>          Components: Text extraction
>    Affects Versions: 1.2.1
>         Environment: Solaris 10
>            Reporter: Saurabh Mehrotra
>         Attachments: INSI-SURVIVAL-GUIDE-4-JOURNALISTS.zip, new_evidence.zip, new_evidence2.zip
>
>
> Hi
> I am trying to use PDF box 1.2.1 version to extract text from PDF files.
> The following issue is observed in the extracted text:
> 1. Combination of the characters 'fi' is converted to a '?'
> example:  first becomes ?rst
>                   classifier becomes classi?er
>                   find becomes ?nd
> Is this a known bug? Can some setting of the PDF box be turned of to prevent this?
> Thanks & Regards
> Saurabh

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.