<table><tr><td style="">fahadalsaidi retitled this revision from "add rtl support to textpage" to "Add RTL support for search, copy & paste in pdf".<br />fahadalsaidi edited the summary of this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-oi6nparn5tgrkd5/" rel="noreferrer">(Show Details)</a>
</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>CHANGES TO REVISION SUMMARY</strong><div><div style="white-space: pre-wrap; color: #74777D;">Right now all text are sorted<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span> in LTR order in <span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);">TextPagePrivate::</span>correctTextOrder()<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> regardless from where they come. </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);">.<br />
</span>Since poppler has fixed it since 0.40, I've just ported reorderTex()<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>from poppler to okular and it works. I am not sure what is unicodeTypeL()<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"><br />
</span>& unicodeTypeR() mean in poppler context so I just use <span style="padding: 0 2px; color: #333333; background: rgba(151, 234, 151, .6);"> </span>isRightToLeft() instead.<span style="padding: 0 2px; color: #333333; background: rgba(251, 175, 175, .7);"> </span><br />
<br />
This patch intended to fix the following bugs:<div style="padding: 8px 0;">...</div></div></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>To: </strong>fahadalsaidi, Okular, aacid, ltoscano<br /><strong>Cc: </strong>ngraham, michaelweghorn, aacid<br /></div>