Bug 106805 - RTL: Copy/Paste Arabic results in reverse order of Arabic phrases after pasting
Summary: RTL: Copy/Paste Arabic results in reverse order of Arabic phrases after pasting
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-04 05:18 UTC by Germán Poo-Caamaño
Modified: 2018-08-20 21:44 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Germán Poo-Caamaño 2018-06-04 05:18:31 UTC
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.
Comment 1 GitLab Migration User 2018-08-20 21:44:32 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/53.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.