Search is bad in Araabic PDFs

I have tested few Araabic PDFs searching functionality, which returns no results for the most of time! .

Is there any prerequisites to be concerned in the PDF to be more functional in searching?



7 Replies

AB Abanoub November 7, 2024 11:11 AM UTC

Same issue with me



KP Krithiga Perumal Syncfusion Team November 8, 2024 08:26 AM UTC

Hi Maher A,

We are unable to replicate the reported issue, and the text search of arabic word is performed without any issues. Please find the video recording of the issue replication.

We suspect that the issue might be specific to the document. Could you please share the PDF document in which the issue occurs? This will be helpful for us to analyze the issue further and provide you with the prompt solution at the earliest.

Regards,

Krithiga Perumal.


Attachment: arabic_textsearch_1a558045.zip


MA Maher A.EL-Amary November 10, 2024 07:42 AM UTC

Hello Krithiga Perumal,


The attached video below describe the issue.


The issue is about searching ِِAraabic word in Araabic PDFs, returning no match results.

Idk Is the issue returns to the encoding-method or PDF document fonts? how could I overcome this issue?


Attachment: search_in_arabic_words.mov_b60f9c6.zip


MA Maher A.EL-Amary November 10, 2024 08:02 AM UTC

The PDF used in video, also some font analysis results between the used Araabic PDF document and your provided Araabic document.


Attachment: attachment_2018b9e6.zip


KP Krithiga Perumal Syncfusion Team November 11, 2024 03:15 PM UTC

Hi Maher A,

We are able to replicate the issue where text search returns no results for Arabic words in the provided document. We are currently validating this issue, and we will update you with further details as early as possible.

Regards, 

Krithiga Perumal. 


MA Maher A.EL-Amary replied to Krithiga Perumal November 13, 2024 08:37 AM UTC

Hi Krithiga,

For the time being, Is there any prerequisites, for Araabic PDF creation, structuring or when exporting, to be more effective in searching, and avoid these gibberish texts.

Thanks for your consideration.



KP Krithiga Perumal Syncfusion Team November 14, 2024 02:09 PM UTC

Hi Maher A,

Please find the details below,

Is there any prerequisites, for Araabic PDF creation, structuring or when exporting, to be more effective in searching, and avoid these gibberish texts.

To address this, we need to set the text direction to RTL (Right-to-Left) and use appropriate fonts that support Arabic text rendering in the PDF document. For more details, please refer to the following user guide documentation:

Text drawing in Flutter PDF library | Syncfusion


The issue is about searching ِِAraabic word in Araabic PDFs, returning no match results.

Idk Is the issue returns to the encoding-method or PDF document fonts? how could I overcome this issue?


We can search and provide results for text created with Arabic fonts; however, we do not need to render complex scripts in the PDF document. If the text is drawn with complex scripts, we may encounter text search issues.

You can track the feature status using the feedback from https://www.syncfusion.com/feedback/20541/complex-script-text-drawing-support-in-flutter-pdf


Regards,

Krithiga Perumal. 


Loader.
Up arrow icon