Right now all text are sorted in LTR order in correctTextOrder().
Since poppler has fixed it since 0.40, I've just ported reorderTex()
from poppler to okular and it works. I am not sure what is unicodeTypeL()
& unicodeTypeR() mean in poppler context so I just use isRightToLeft() instead.
This patch intended to fix the following bugs:
BUG: 207748
BUG: 184399