pdfrx
pdfrx copied to clipboard
pdfrx is yet another PDF viewer implementation that built on the top of PDFium. The plugin currently supports Android, iOS, Windows, macOS, Linux, and Web.
Hi there! First of all, congratulations for the efforts made to produce a such rich and malleable package. I'm facing a specific issue with the PdfViewer.data class: On a layout,...
This is my code, and how do I implement pinch zoom? ```dart PageView.builder( physics: const BouncingScrollPhysics(), controller: controller.pageController, itemCount: document.pages.length, onPageChanged: (i) => controller.currentPage.value = i, itemBuilder: (context, index) =>...
Hi, I want to make the pdf as wide as possible and I think I have to do this using `layoutPages()` (see code below) However, I noticed that the text...
Hi! We use `PdfDocumentViewBuilder.file()` around a PhotoViewGallery-Widget (of the https://pub.dev/packages/photo_view package, which is not part of the subject) to load a PdfDocument. To show the pages in the PhotoViewGallery, we...
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':pdfrx:buildCMakeRelWithDebInfo[arm64-v8a]'. > com.android.ide.common.process.ProcessException: ninja: Entering directory `/home/ind/.pub-cache/hosted/pub.dev/pdfrx-1.0.84/android/.cxx/RelWithDebInfo/3j5c5v3g/arm64-v8a' [1/2] Building CXX object shared/CMakeFiles/pdfrx.dir/pdfium_interop.cpp.o FAILED: shared/CMakeFiles/pdfrx.dir/pdfium_interop.cpp.o /home/ind/Android/Sdk/ndk/26.1.10909125/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ --target=aarch64-none-linux-android21...
I have the same problem again in the web - it was solved in a previous release. I use version 1.0.83 currently  _Originally posted by @thomas4Bitcraft in https://github.com/espresso3389/pdfrx/issues/91#issuecomment-2345687383_
When using the scroll thumb to scroll fast through a large document, the viewer sometimes throws an exception. I have also seen the same exception when using the thumbnails/bookmarks or...
When selecting text and then changing the page via thumbnail/bookmark, the text selection is "moved" to the new current page. By this I mean that on the new page, text...
I am trying to add a large margin around the pdf page so the user can scroll and drag the pdf to the edge of the screen e.g. (in this...
Whenever a user selects some text, the callback ` onTextSelectionChange: (selection) { _selectedText = selection; }, ` gets called. But I would also like to clear the selection (eg after...