book-reader/app/src/main/cpp
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
..
libmobi Initial commit 2026-02-24 17:37:40 +05:30
woff2 Remove brotli test binaries for F-Droid compliance (#11) 2026-02-27 14:08:10 +05:30
CMakeLists.txt Fdroid fix (#57) 2026-03-10 22:16:43 +05:30
mobi_jni_bridge.c Update readme (#3) 2026-02-25 21:30:28 +05:30
pdfium_bridge.cpp Render embedded annotations in PDF (#59) 2026-03-12 10:11:42 +05:30
Woff2Converter.cpp Update readme (#3) 2026-02-25 21:30:28 +05:30