- PDF-pages/image-pages images stay transparent until decoded, then appear whole;
a blank visible page fades in (120 ms), offscreen pages and swaps switch at once.
- Before the primary PDF is ready, opening range reads yield to visible page images
(admitPdfRange: 1 / 4 / 6 in flight) and nearby pages' images start 1 s after the
first one shows; visible demand wakes pending hybrid polls.
- Read-aloud text discovery reads only pages the renderer has extracted or is
extracting. The previous probe extracted up to 12 unrendered pages, which for a
scanned PDF downloads their full page images ahead of the visible page.
- Tests: scroll-scheduling/range-transport cases, hybrid reveal/lookahead cases, a
read-aloud probe regression, the Pages full-search rule and a drawer-transition
race in the dark-theme handoff test.
fix(reader): PDF.js for large hybrid books, prioritized image fallback, stable page geometry, hybrid outline
vomebook
ba00b90
- Range-transport PDFs up to 1 GiB (complete bodies keep 512 MiB) on client and proxy
- A failed primary leaves hybrid mode; image pages use a priority-ordered pool with preemption
- Visible-page image fallback waits for this book's measured PDF draw time
- Image and canvas geometry changes preserve the reading anchor; first geometry seeds shells
- PDF outline fills a missing manifest TOC after the first page
perf(pdf): reuse validated ranges and overlap bounded first-page reads
vomebook
ffce5ad
perf(reader): overlap PDF bootstrap and skip unchanged restoration zoom
vomebook
6eaf0a0
perf(reader): overlap bounded opening ranges and prioritize fling fallback
vomebook
ef6f873
fix: reload PDFs after fatal post-opening range failures
vomebook
b841389
perf: bootstrap PDF reading with validated demand ranges
vomebook
7848e46
refactor: organize project layout and Reader responsibilities