flutter_pdf_viewer icon indicating copy to clipboard operation
flutter_pdf_viewer copied to clipboard

RTL support

Open moonlinefoolks opened this issue 7 years ago • 1 comments

Hi. Thanks in advance for this great plugin!

I have a case of displaying a pdf file like the Quran, where the way to read it is 'right to left slide' https://imgur.com/a/2LnSVlx

how to make it like that?

moonlinefoolks avatar Apr 06 '19 00:04 moonlinefoolks

@mimdudin Hate to be the bearer of bad news, but the underlying library does not officially support this feature.

There are workarounds, suggested at the issue upstream - https://github.com/barteksc/AndroidPdfViewer/issues/670

The straightforward way is to modify the PDF itself. There are a lot of pdf libraries out there, that will allow you to re-order the pages. (like a pre-processing step)

The other is a hack -- simply show the pages in reverse order, and start the initial view from the last page.

devxpy avatar Apr 06 '19 18:04 devxpy