[Poppler-bugs] [Bug 106805] New: RTL: Copy/Paste Arabic results in reverse order of Arabic phrases after pasting

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 4 05:18:31 UTC 2018


https://bugs.freedesktop.org/show_bug.cgi?id=106805

            Bug ID: 106805
           Summary: RTL: Copy/Paste Arabic results in reverse order of
                    Arabic phrases after pasting
           Product: poppler
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: general
          Assignee: poppler-bugs at lists.freedesktop.org
          Reporter: gpoo at gnome.org

As reported in https://gitlab.gnome.org/GNOME/evince/issues/489

```
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

http://www.gulfup.com/?tCcbsP

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

http://librebooks.org/
```

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

It may be related to Bug 105015, 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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/poppler-bugs/attachments/20180604/e74c6e18/attachment.html>


More information about the Poppler-bugs mailing list