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

Giorgio Pettenati edited comment on PDFBOX-860 at 11/29/10 12:22 PM:
---------------------------------------------------------------------

Hi Martijn,
The problem does not occur only with the characters "fi", but also with the 
combination "fl"
I can assure you that this is NOT a coding error in the text,
because you can see the same result in the .txt file of the first ZIP attached, 
which I wrote on my system from java in utf8 format.
It is most likely due to the fact that I don't have in my classpath the ICU4J 
dependency (Of which i'm sure).
>From the detail page of dependencies PDFBox
http://pdfbox.apache.org/dependencies.html
I had understood that it was an optional dependency.
In addition, in many other documents this behavior does not occur.
However I will try to include this dependency and re-run my tests of extraction.

      was (Author: giorgio11):
    Hi Martijn,
I can assure you that this is NOT a coding error in the text,
because you can see the same result in the .txt file of the first ZIP attached.
It is most likely due to the fact that I don't have in my classpath the ICU4J 
dependency.
>From the detail page of dependencies PDFBox
http://pdfbox.apache.org/dependencies.html
I had understood that it was an optional dependency.
In addition, in many other documents this behavior does not occur.
However I will try to include this dependency and re-run my tests of extraction.
  
> '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
>
>
> 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.

Reply via email to