<table><tr><td style="">fahadalsaidi updated this revision to Diff 27038.<br />fahadalsaidi edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ioc4gowsticexe7/" rel="noreferrer">(Show Details)</a><br />fahadalsaidi added a comment.
</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><div><p>Well, I was over-optimistic. This patch is related only to  BUG: 207748 & BUG:184399. The other back-ends have many problem not related to this patch as following:</p>

<ul class="remarkup-list">
<li class="remarkup-list-item">xps: okular crash when open arabic xps file and if it can open it, it renders it in wrong way.</li>
<li class="remarkup-list-item">dejuv: searching & copying Arabic text are fine since dejuv back-end has it own search function.</li>
<li class="remarkup-list-item">odt: there is broken in LTR or RTL. There is no text to search at all.</li>
<li class="remarkup-list-item">chm: Although okular can open it but searching is bad for LTR & RTL text, it is basically broken.</li>
</ul>

<p><a href="https://phabricator.kde.org/p/aacid/" style="
              border-color: #f1f7ff;
              color: #19558d;
              background-color: #f1f7ff;
                border: 1px solid transparent;
                border-radius: 3px;
                font-weight: bold;
                padding: 0 4px;" rel="noreferrer">@aacid</a> the poppler bug  should be fixed, so anybody using QT interface can get the right order for RTL langs.  Okular has its own way to sort words.</p></div></div><br /><div><strong>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>BUG: 207748<br />
<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">BUG: 353299<br />
BUG: 353300<br />
BUG: 353301<br />
</span>BUG: 184399<br />
</div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R223 Okular</div></div></div><br /><div><strong>CHANGES SINCE LAST UPDATE</strong><div><a href="https://phabricator.kde.org/D10455?vs=26983&id=27038" rel="noreferrer">https://phabricator.kde.org/D10455?vs=26983&id=27038</a></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, aacid, ltoscano<br /><strong>Cc: </strong>ngraham, michaelweghorn, aacid<br /></div>