<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Text runs of RTL scripts (e.g. Arabic, Hebrew, Persian) from imported PDF are reversed, PDFIProcessor::mirrorString not behaving"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=104597#c14">Comment # 14</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Text runs of RTL scripts (e.g. Arabic, Hebrew, Persian) from imported PDF are reversed, PDFIProcessor::mirrorString not behaving"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=104597">bug 104597</a>
from <span class="vcard"><a class="email" href="mailto:jluth@mail.com" title="Justin L <jluth@mail.com>"> <span class="fn">Justin L</span></a>
</span></b>
<pre>(In reply to V Stuart Foote from <a href="show_bug.cgi?id=104597#c13">comment #13</a>)
<span class="quote">> Not clear if the (isRTL) is applied logically to do the mirror::String()?
> I get confused walking through the code. </span >
I agree that it doesn't seem to mirror the string. Originally it walked
backwards and now it walks forwards, but still uses appendUtf32 instead of
insertUtf32.
- for(int i = nLen - 1; i >= 0; i--)
+ sal_Int32 i = 0;
+ while(i < nLen)
However, making that change doesn't fix it, since almost nothing is even passed
to the mirrorString function.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>