<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - handling of rtl text inversion is too naive"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=55977">55977</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>poppler-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>handling of rtl text inversion is too naive
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>alexbodn.groups@gmail.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=68555" name="attach_68555" title="the patch itself, made on poppler 0.20.3. please give it a try.">attachment 68555</a> <a href="attachment.cgi?id=68555&action=edit" title="the patch itself, made on poppler 0.20.3. please give it a try.">[details]</a></span>
the patch itself, made on poppler 0.20.3. please give it a try.

textpage::dumpfragment makes an attempt to reorder text in it's original
directionality. i mean, reorder visual to logical order.

however, this is generally a very heavy issue to implement, handled (to my
knowledge of foss) only in icu. 
fribidi does only reorder logical text to visual, which may also help here, but
it's not the real thing.

here is a patch to implement the icu algorithm, with a fribidi fallback, in
poppler.

i did it since the current attempt is not quite correct. a test file to test
with pdftotext will be attached too.

please feel free to comment an enjoy.

best regards,
alex</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>