forked from akai/readest
a9c0f3d46d
In a PDF two-page spread at a fractional devicePixelRatio (Windows display scale 150% -> dpr 1.5), a one-pixel white bar appeared at the spine on certain zoom levels. foliate-js' pdf.js sized the page canvas only via its bitmap, so the fractional viewport width was truncated and the canvas rendered up to ~1 device pixel narrower than the page box, exposing the background at the spine. Bump the foliate-js submodule to the fix (readest/foliate-js#35) which pins an explicit canvas CSS size to the un-truncated viewport dimensions, and add a regression test that drives render() at dpr 1.5 and asserts the canvas fills its box exactly. Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>