Bug 694701 - Arabic Search Bug
Summary: Arabic Search Bug
Status: UNCONFIRMED
Alias: None
Product: MuPDF
Classification: Unclassified
Component: mupdf (show other bugs)
Version: 1.3
Hardware: Android Phone Windows 7
: P4 normal
Assignee: Tor Andersson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-08 06:32 UTC by Amr Mohsen
Modified: 2018-11-09 14:44 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments
this is the Arabic pdf file I am using (3.53 MB, application/pdf)
2013-10-08 06:32 UTC, Amr Mohsen
Details

Note You need to log in before you can comment on or make changes to this bug.
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?