[
https://issues.apache.org/jira/browse/PDFBOX-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12990014#comment-12990014
]
Hesham commented on PDFBOX-938:
-------------------------------
@Andreas ... That is why i have sent you an application sample. The font used
in the JTextArea is Tahoma :
pdfTextArea.setFont(new Font("Tahoma", Font.PLAIN, 12));
And the encoding used to extract text :
PDFTextStripper stripper = new PDFTextStripper( "utf-8" );
Is there anything else that may cause such a problem ?
> Wrong extracted text using PDFBox 1.4
> -------------------------------------
>
> Key: PDFBOX-938
> URL: https://issues.apache.org/jira/browse/PDFBOX-938
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 1.4.0
> Reporter: Hesham
> Assignee: Andreas Lehmkühler
> Fix For: 1.5.0
>
> Attachments: Another book - Wrong extracted f char.pdf,
> Another+book+-+Wrong+extracted+f+char.txt, Sample.zip, Wrong extracted f
> char.pdf
>
>
> Hello ,
>
> I am using PDFBox v1.4 to extract some text from a PDF, but some words are
> not extracted right.
> For example words :
> "Nefteiugansk" is read: "Nežeiugansk"
> "fiancee" is read: "Äancée"
> "first" is read: "Ärst"
>
> Please check the attached file to test this.
> Best regards
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira