One feature I liked in Adobe Reader is the control over reading direction from Left to Right or Right to Left. I hope it will implemented in Okular one day. Please see the attached image for more understanding.
Created attachment 82673 [details]
Adobe reader- reading direction options
What does this option change? Scrolling direction on key presses? Please clarify exactly how Okular should work with this option enabled.
This option gives the control over the order of pages when the view mode is facing pages (Center First page). I have attached two screen-shots one from adobe reader after enabling Reading direction Right to Left and the other from okular the current behavior. I tried to number the page in red to see what is changes.
This feature is useful with RTL language and you want to read tow page in the same view or you want to preview you book before sending it to the printer.
Created attachment 82675 [details]
Adobe reader- reading direction options (Right to Left)
Created attachment 82676 [details]
Okular- the current reading direction (left to right)
Thanks for the update, swapping the two facing pages makes sense in RTL reading mode.
Is there any reason the first page is centered in one of the screenshots but not on the other?
(In reply to comment #7)
> Is there any reason the first page is centered in one of the screenshots but
> not on the other?
Because the one who starts from left is adobe reader way. The other is the default okular way of reading.
Silly me, one of them is Okular :D Sorry about the stupid question :D
Confirming the thing, this doesn't mean it's going to be worked on, just that it makes sense.
Created attachment 85344 [details]
PDF file with RTL page layout pre-defined (Test Case)
To test, Default: Page layout from Document
(This attachment is test with Acroread9, for same option)
- Okular and qpdfview have similar bugs, thought it may be helpful to mention
qpdfview lp_bug#1281870 (Already made some advance)
Poppler commit "Qt: Expose document-supplied text direction" (http://cgit.freedesktop.org/poppler/poppler/commit/?id=b346df59ef0775f5bd74a9f7379b5f430ccd7b79) , may be released with next Poppler 0.26 . Property to be used for "Direction from document" option.
As always, patches welcome :)
This patch adds RTL reading mode to okular in following view modes:
- facing pages.
- facing ( center first page).
As well as adds “Right to left reading direction “ option to okular's settings.
the patch: https://git.reviewboard.kde.org/r/125397/
the patch is updated.
Git commit 04908dba2f93842a0008ef1ba8c966621c615f9e by Olivier CHURLAUD.
Committed on 25/07/2016 at 23:37.
Pushed by ochurlaud into branch 'master'.
Adding RTL reading mode feature to okular
Commited on behalf of Fahad Al-Saidi
M +1 -0 conf/dlggeneral.cpp
M +73 -13 conf/dlggeneralbase.ui
M +3 -0 conf/okular.kcfg
M +25 -6 ui/pageview.cpp