How Readwyn shows double-page spreads in digital comics
Readwyn's page reader gives a double-page spread the window to itself, across the full width, as one picture. A page counts as a spread if its image is wider than it is high, or if the archive's ComicInfo.xml marks it with DoublePage="true", even when the image is taller than it is wide. The pages before it pair up so that a spread never has to share the window with another page.
Where the page size comes from
Readwyn gets each page's width and height from the header of its image file. JPEG, PNG, GIF, and WebP all keep them there, so it never has to decode the picture, and it reads no more than the first 256 KB of a page to find out.
How the pages pair up
In a window at least 1000 px wide you get two pages side by side, paired like this:
- The cover, the first page, shows alone.
- A double-page spread shows alone, across the full width.
- Every other page shares the window with its neighbour.
- A page left without a partner, just before a spread or at the end of the comic, shows alone.
The two pages of a pair are scaled to one height and meet at the spine. A soft shade on either side of the middle and one shadow under both make them look like an open book. A page whose size can't be read, such as a corrupt page, takes its proportions from a page nearby. In a manga, the earlier page of a pair sits on the right.
One page at a time
“Always one page” in Settings › Reading turns the pairing off; the default is “Two pages when the window is wide”. Below 1000 px you get one page whatever the setting.
“Fit width” in the top bar also shows a single page, as wide as the window. A tall or zoomed page scrolls with the trackpad, a drag, or the up and down arrow keys.
Zoom
Fitted to the window, a spread can leave the panels small. Each press of ⌘= zooms in by a factor of 1.25, up to 400%, and a pinch on the trackpad works too, with the middle of the view staying put. Thin scroll bars appear on the right, and along the bottom when the page is wider than the window. ⌘0, or the zoom button in the top bar (“150%”, say), takes you back to the fit.
Page numbers
A spread is a single image in the archive, so it counts as one page. The footer shows a pair as “pp. 12–13 of 24” and a spread on its own as one page, such as “p. 6 of 10”.