PdfViewer
PdfViewer copied to clipboard
Simple Android PDF viewer based on pdf.js and content providers. The app doesn't require any permissions. The PDF stream is fed into the sandboxed WebView without giving it access to content or files....
Rendering is currently done in an off-screen canvas and the page isn't updated until the rendering is completely finished. Ideally, it could render to a visible canvas to display the...
The next step after this would be making pinch-to-zoom aware of where the user is zooming on the page.
Pages now render in an offscreen canvas to drastically improve performance. This works around the ridiculously slow 2D canvas implementation in Chromium. However, it means people can no longer see...
Implemented in #172 Probaly the code is in https://github.com/GrapheneOS/PdfViewer/blob/cab3ae60e909264a86393429f3c70c6b8f03c6f3/app/src/main/java/app/grapheneos/pdfviewer/PdfViewer.java#L550 Steps to reproduce: - Open a pdf from K-9 mail in the pdf viewer - Click on the share button -...
Bumps [pdfjs-dist](https://github.com/mozilla/pdfjs-dist) from 3.11.174 to 4.0.379. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting `@dependabot rebase`. [//]: #...
On devices with a display cutout, instead of hiding the status bar which shows a black bar, this makes it render below the bar by not hiding it when in...
This ports/rewrites PDF Viewer to Jetpack Compose. Also a start screen has been added and the immersive mode (GestureHelper onTapUp) now renders on the top bar and icons were added...
Intends to refactor as per https://github.com/GrapheneOS/PdfViewer/issues/68