<table><tr><td style="">fahadalsaidi created this revision.<br />fahadalsaidi added a reviewer: Okular.<br />fahadalsaidi added a project: Okular.<br />fahadalsaidi requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D10455" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Right now all text are sorted in LTR order in TextPagePrivate::correctTextOrder() regardless from where they come. 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.</p>
<p>This patch intended to fix the following bugs:<br />
BUG: 207748<br />
BUG: 353299<br />
BUG: 353300<br />
BUG: 353301<br />
BUG: 184399</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D10455" rel="noreferrer">https://phabricator.kde.org/D10455</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>core/textpage.cpp</div></div></div><br /><div><strong>To: </strong>fahadalsaidi, Okular<br /><strong>Cc: </strong>michaelweghorn, ngraham, aacid<br /></div>