Bug 694701

Summary: Arabic Search Bug
Product: MuPDF Reporter: Amr Mohsen <amrmohsen91>
Component: mupdfAssignee: Tor Andersson <tor.andersson>
Status: UNCONFIRMED ---    
Severity: normal CC: robin.watts
Priority: P4    
Version: 1.3   
Hardware: Android Phone   
OS: Windows 7   
Customer: Word Size: ---
Attachments: this is the Arabic pdf file I am using

Description Amr Mohsen 2013-10-08 06:32:57 UTC
Created attachment 10312 [details]
this is the Arabic pdf file I am using

I have cloned the MuPDF 1.3 for Android on git, I successfully built it, then imported the project to Eclipse and cleaned the build in Eclipse, then ran it on my Android Device, I have some Arabic pdf files so I opened one of them and tried to search for some Arabic words, the problem is when I hit search, it finds the words but seems there is a problem in highlighting these words, the highlight is not fully on the words or even on a whole statement.

While I download the MuPDF .apk which is on Google play, and try to search for Arabic words in the same file, I have to write the letters of the word in a reversed order such as: من then I will write in نم _I reversed the two letters_, and after I hit search then it finds to me all the words that matches "من" which I want to find. if I wrote the word without a reverse then it won't find anything.
Comment 1 Robin Watts 2013-10-08 09:26:48 UTC
Please don't fiddle with the controls. :)
Comment 2 Robin Watts 2013-12-23 10:29:25 UTC
Passing to Tor.
Comment 3 Tor Andersson 2018-11-09 14:44:37 UTC
Can you try this again in mupdf-gl?

The search text box doesn't do RTL ordering, but if you type it in in logical order, does it search correctly?