<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - RTL: Copy/Paste Arabic results in reverse order of Arabic phrases after pasting"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=106805">106805</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>RTL: Copy/Paste Arabic results in reverse order of Arabic phrases after pasting
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>poppler
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

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

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

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

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

        <tr>
          <th>Reporter</th>
          <td>gpoo@gnome.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>As reported in <a href="https://gitlab.gnome.org/GNOME/evince/issues/489">https://gitlab.gnome.org/GNOME/evince/issues/489</a>

```
Hello,

When I copy phrases from Arabic PDFs and then past it anywhere , the order of
words becomes reverse.For example when I copy 

" بسم الله الرحمن الرحيم "

then past it anywhere it becomes

" الرحيم الرحمن الله بسم "

For more explaining - in English - If I copy "Hello Ali" the result after
pasting is "Ali Hello" .
Contrary to English, Arabic is written from right to left.

You can download a document which has the same Arabic phrase
 "بسم الله الرحمن الرحيم" from the following link

<a href="http://www.gulfup.com/?tCcbsP">http://www.gulfup.com/?tCcbsP</a>

And If you like  in the following link you can find several Arabic PDFs

<a href="http://librebooks.org/">http://librebooks.org/</a>
```

The first link does not work. However, I tried with a random book from the the
second one (<a href="http://librebooks.org/">http://librebooks.org/</a>) and it is reproducible.

It may be related to <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - textList() reverse characters order for Arabic"
   href="show_bug.cgi?id=105015">Bug 105015</a>, although the reverse text in that report is
per character. Selecting/Copy/Paste is per word.

At last but not least, I tested it with poppler-glib-demo, but I am filing this
issue to general as I notice the RTL support is lacking across frontends.</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>