[okular] fix Arabic & Hebrew search
Review Request #125442 - Created Sept. 29, 2015 and updated
Since arabic search does not work properly in all but pdf backends, this is a quick attempt to fix this problem. I assumed that text in okular document is in the logical order[ it is a bug by itself]. So by mirroring the search text, the search function works again.
- you can not search arabic and english text together.
we need to check that text generated by poppler is placed in Visual order, so when we copy it and paste it in text editor is still readable.
Tested in Arabic & Hebrew pdfs and it works fine.
|Before submitting patches, check with a git diff that you don't add whitespaces...||Olivier Churlaud|