1

I have a PDF in the Arabic language. I've opened it with Poppler/cairo or Okular but I can't figure this out. I know this is so easy but I need help.

So Arabic books are normally from RIGHT to LEFT, so the page numbering is like this physically (ie how it should be):

PAGE 2 | PAGE 1
PAGE 4 | PAGE 3

But no matter what options in Okular or others, it comes out as:

BLANK  | PAGE 1
PAGE 2 | PAGE 3
PAGE 4 | PAGE 5

or...

PAGE 1 | PAGE 2
PAGE 3 | PAGE 4
PAGE 5 | PAGE 6

Can you help me? I'm so lost. Here is a sample PDF: http://www.musily.usi.ch/documents/arabic.pdf

Can anyone figure out how to get dual-view to work? This will help me so much for my studies... Thank you so much!

4
  • 1
    It seems a bug, even with Arabic interface it does not flip pages order (Righ-To-Left). Consider reporting it upstream Okular Menu > Help > Report a bug. Or any program you want to use See askubuntu.com/questions/5121/how-do-i-report-a-bug
    – user.dz
    Feb 17, 2014 at 12:53
  • 1
    Ok, I sent them a message. Does Ubuntu have any other PDF Tools that may solve this problem? Can anyone advice me?
    – Bran
    Feb 19, 2014 at 0:07
  • Man, I wonder if this is a Ubuntu or OS Problem then. Im not too familiar, but can you do something like export lang=Arabic ; ocular myArabic.pdf ?
    – Bran
    Feb 19, 2014 at 1:18
  • It's an apllication problem. Even though I tried all them, only GUI interface flip (so already translated to Arabic). But the view (or more technically correct canvas) it's like drawing, the application should take care of that.
    – user.dz
    Feb 19, 2014 at 1:28

1 Answer 1

2
  • Actually Acroread works.

    If you can't get it in software center, see https://get.adobe.com/uk/reader/otherversions/ . Download .deb package.

    Edit → Preferences → International → Enable Right to Left Language Options (Default can be change too)

  • Qpdfview bug report (fix may be released with qpdfview 0.4.9)

    lp bug#1281870

    From Menu, View → Right To Left
    Shortcut: Ctrl+Shift+r
    To add it to toolbar: Edit → Settings → Interface → View Tool Bar: Add rightToLeftMode to comma separated list.

  • Okular bug report (needs more votes)

    kde bug#325650

  • Evince bug report

    gnome bug#724704

  • To test if the viewer may flip page layout too when launch with RTL (RightToLeft) local ie: RTL GUI, (ar_DZ for Algerian Arabic. Or prefer ar.UTF8 as most application translated to single unified Arabic, no difference):

    LANGUAGE=ar_DZ.UTF8 acroread
    LANGUAGE=ar_DZ.UTF8 evince
    LANGUAGE=ar_DZ.UTF8 qpdfview
    LANG=ar_DZ.UTF8 okular
    
2
  • Best answer ever on Askubuntu.com. Thank you SO MUCH for this information. I hope that Okular and Evince get those supports soon. Thank you again SO MUCH, this is why I love ubuntu, because people are so nice and helpful.
    – Bran
    Apr 11, 2014 at 1:07
  • 1
    @Bran, :) I hope so for evince/okular. qpdfview released the fix. it is already in the daily build of its developer (many thanks to Adam Reichold) ppa:adamreichold/qpdfview-dailydeb. Even he made an upstream fix for Poppler to get direction property from pdf document. Poppler is used by evince/okular too.
    – user.dz
    Apr 11, 2014 at 13:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.