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 2024/12/15 14:14:00 UTC
[jira] [Resolved] (PDFBOX-5487) extra whitespaces when extracting Arabic text
[ https://issues.apache.org/jira/browse/PDFBOX-5487?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Tilman Hausherr resolved PDFBOX-5487.
-------------------------------------
Fix Version/s: 2.0.33
3.0.4 PDFBox
4.0.0
Assignee: Tilman Hausherr
Resolution: Fixed
Thank you [~Fatima_E] for the report and [~noureldin] for the feedback.
There will probably be more upcoming changes re: spaces, another user is planning to contribute something soon, I'll ping you so we don't mess up anything. However I'm also keeping your file in my local test repository.
> extra whitespaces when extracting Arabic text
> ---------------------------------------------
>
> Key: PDFBOX-5487
> URL: https://issues.apache.org/jira/browse/PDFBOX-5487
> Project: PDFBox
> Issue Type: Bug
> Components: Text extraction
> Affects Versions: 2.0.32, 3.0.3 PDFBox
> Reporter: Fatemeh Elyasi
> Assignee: Tilman Hausherr
> Priority: Major
> Labels: Arabic
> Fix For: 2.0.33, 3.0.4 PDFBox, 4.0.0
>
> Attachments: Malpass-at-the-G7-Leaders-Summit-Media-Briefing-AR (withoutFixes).txt, Malpass-at-the-G7-Leaders-Summit-Media-Briefing-AR.pdf, Malpass-at-the-G7-Leaders-Summit-Media-Briefing-AR.txt, PDFBOX-3774-reduced.pdf-sorted-diff.txt, PDFBOX-5487-arabic.pdf-sorted-diff.txt, PDFBOX-5487_ اعلامية.png, PDFBOX-5487_ وفضلا.png, arabtest.pdf, meld1.png, meld2.png, meld3.png, screenshot-1.png
>
>
> trying to extract text from an arabic PDF. You may notice that some of whitespaces are extracted in wrong place.
> Example:
> Original word: العالمية
> Extracted word: العالمي ة
>
> Pdf is attached, the example word is on the first line.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org