book-reader/app
Aryan 8582ed9679
Render embedded annotations in PDF (#59)
* Added support for reading and displaying embedded PDF annotations.

Changes include:
- Added JNI bindings in `NativePdfiumBridge` and `pdfium_bridge.cpp` to extract annotation count, subtypes, rectangles, and string values (Contents, NM, IRT, T) using PDFium.
- Introduced `EmbeddedAnnotation` data class to represent PDF annotations and their reply threads.
- Implemented annotation extraction logic in `PdfPageComposable` to fetch, group, and map embedded annotations (Sticky Notes, Highlights, etc.) to screen coordinates.
- Updated `PdfSelectionMenuPopup` to support displaying and copying comment threads.
- Improved selection menu positioning and hit detection for annotations.
- Added a safety check to recycle bitmaps in `PdfTile` rendering if handover to the main thread fails.

* Improved comment thread UI
2026-03-12 10:11:42 +05:30
..
src Render embedded annotations in PDF (#59) 2026-03-12 10:11:42 +05:30
.gitignore Initial commit 2026-02-24 17:37:40 +05:30
build.gradle.kts Fdroid fix (#57) 2026-03-10 22:16:43 +05:30
proguard-rules.pro Initial commit 2026-02-24 17:37:40 +05:30