openreader/src/components/views
Richard R 8af4e857b7 feat(pdf): add block geometry-based highlighting using parsed document and locator
Implement block-level highlighting in PDF viewer by leveraging parsed document
structure and TTS segment locator. Extend highlightPattern API to accept options
for parsedDocument, locator, and block geometry mode. Update PDFViewer to use
block geometry highlighting when available, improving accuracy and alignment of
sentence and word highlights with ONNX-based DocLayoutV3 parsing. Refactor
highlighting logic to support both legacy span-based and new geometry-based
approaches.
2026-05-18 12:25:41 -06:00
..
EPUBViewer.tsx refactor epub reader hooks and add unit coverage 2026-05-13 16:56:13 -06:00
HTMLViewer.tsx feat(html): add HTML/TXT/MD sentence and word highlighting, settings, and audiobook export support 2026-05-17 11:14:02 -06:00
PDFViewer.tsx feat(pdf): add block geometry-based highlighting using parsed document and locator 2026-05-18 12:25:41 -06:00