Feature request: support right-to-left text in dual mode
Submitted by tom..@..il.com
Some languages are written from right to left and in those languages pages also go from right to left. It would be nice if Evince supported an option to use right-to-left text/page direction in dual mode. Attached patch adds this option ("Rtl Text") right below the "Odd Pages First" option.
Some notes on the patch:
- There might be a better name than "Rtl Text" for this option.
- I am not sure if I did the right thing regarding the cache (EvHeightToPageCache).
- I did not touch the browser plugin part of the code, but maybe this part also needs modifications if this feature is to be shipped?
- Perhaps Left and Right keys should be remapped in rtl mode -- Left to "next page" and Right to "previous page". But in that case, rtl mode should not be a sub-mode of dual mode as this inversion of key mapping will be expected when viewing rtl texts in single page mode as well.
Version: git master