textList() reverse characters order for Arabic
Submitted by Fahad Al-Saidi
Assigned to poppler-bugs
Link to original bug (#105015)
Description
I am trying to fix okular bug #207748 (RTL languages searches text backwards), I trace it to textList() reverse Arabic characters. so, if the pdf text is "testing تجربة "
textlist() will return something likes this:
[0] = "testing" [1] = "ةبرجت"
It should be:
[0] = "testing" [1] = "تجربة"