Huang Xin
ed7cfc31fc
fix(layout): fix off-by-one page count on fractional DPR devices, closes #3787 ( #3813 )
...
The `pages` getter used Math.ceil(viewSize / containerSize) which inflates
the count by 1 when floating-point drift makes the ratio slightly above an
integer (e.g. 4.00000001 → 5). Use Math.round to absorb sub-pixel drift,
matching the approach already used in #getPagesBeforeView.
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-09 20:08:55 +02:00
Huang Xin
52ac74bbad
fix: fixed status info layout in vertical mode, fixed Android build ( #3735 )
2026-04-03 21:41:49 +02:00
Huang Xin
e68dedd10d
fix(layout): fix primary view detection on fractional DPR devices, closes #3681 ( #3701 )
2026-03-31 15:04:02 +02:00
Huang Xin
797fe9c604
fix(layout): fixed infinite expand calls and freeze in the paginator, closes #3683 ( #3690 )
2026-03-30 14:50:59 +02:00
Huang Xin
1af55e24da
feat(epub): support continuous scroll and spread layout for EPUBs, closes #3419 and closes #1745 ( #3546 )
2026-03-16 18:24:07 +01:00
Huang Xin
8850e6c00f
feat(pdf): support TTS and annotation on PDFs, closes #2149 & #3462 ( #3493 )
...
* chore: bump jsdom to the latest version
* feat(pdf): support TTS and annotation on PDFs, closes #2149 & closes #3462
2026-03-09 10:28:19 +01:00
Huang Xin
35ade2c855
fix(tts): handle documents without lang attribute or XHTML namespace, closes #3291 ( #3456 )
2026-03-03 10:35:33 +01:00
Huang Xin
c533da498d
feat(annotator): add page number for annotations, closes #3082 ( #3405 )
...
* feat(annotator): add page number in annotation
* feat: add page number for annotations, closes #3082
2026-02-28 08:08:56 +01:00