<table><tr><td style="">mglb created this revision.<br />mglb added reviewers: Konsole, sassanh.<br />Restricted Application added a project: Konsole.<br />mglb 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/D12655">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Fix regression introduced by commit <a href="https://phabricator.kde.org/R319:a565bc97337a3bfc3a027f46aa2dec3e9a6f8618" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">a565bc9</a> (Clip character drawing<br />
to its own cell). When the first character in a text fragment is<br />
classified as RTL, rest of the fragment is also considered to be RTL<br />
and is passed to <tt style="background: #ebebeb; font-size: 13px;">drawText()</tt> as one string. The rendering is not<br />
perfect (especially when RTL and LTR characters are mixed), but it<br />
works as before.</p>
<p><a href="https://phabricator.kde.org/F5830191" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F5830191: Screenshot_2018-05-02-07-32-16.png</a></p>
<p>BUG: 393644</p></div></div><br /><div><strong>TEST PLAN</strong><div><ul class="remarkup-list">
<li class="remarkup-list-item">Display example sentences using a program which prints text directly to terminal (e.g. <tt style="background: #ebebeb; font-size: 13px;">echo</tt>, <tt style="background: #ebebeb; font-size: 13px;">cat</tt>):</li>
</ul>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">حروف به هم پیوسته
کِیدیئی (به انگلیسی: KDE) پروژهای برای توسعه یک
میزکار آزاد و متن باز است.</pre></div>
<ul class="remarkup-list">
<li class="remarkup-list-item">Display the sentences in Konsole built before commit <a href="https://phabricator.kde.org/R319:a565bc97337a3bfc3a027f46aa2dec3e9a6f8618" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">a565bc97337a3bfc3a027f46aa2dec3e9a6f8618</a></li>
<li class="remarkup-list-item">Compare visually</li>
</ul></div></div><br /><div><strong>REPOSITORY</strong><div><div>R319 Konsole</div></div></div><br /><div><strong>BRANCH</strong><div><div>arc/Restore-Bi-Directional-text-support</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12655">https://phabricator.kde.org/D12655</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/TerminalDisplay.cpp</div></div></div><br /><div><strong>To: </strong>mglb, Konsole, sassanh<br /><strong>Cc: </strong>Konsole, herrold, ngraham, hindenburg<br /></div>