1.16 part 8/11: Almanac: page, sky, tables, book and HD
Part 8 of 11 of Zimi 1.16: almanac: page, sky, tables, book and HD.
The release is split into 11 parts so each one can be reviewed whole. Each part's base is the part before it, so this diff is only its own files; a part on its own is not a running state. CI runs once, on the release PR that carries every part into main.
Every part was reviewed before it was opened, and the full suite (quick tier, node tests, every browser test under software GL) ran on the combined tree.
Summary by cubic
Part 8 of the 1.16 Almanac release: the print book is now typeset server-side with PyMuPDF instead of headless Chromium, Almanac HD covers every world in the 3D view and ships in two sizes, one installed at a time, and the 3D Earth draws the installed map's roads and names below a set altitude. As with every part, this branch alone is not a running state — CI runs once on the combined release PR.
New Features
zimi/almanacbook.pyandzimi/almanacmath.pylay out the book with PyMuPDF: MathML equations typeset with TeX rules, small figures drawn as vectors, every font embedded as a subset.- HD tiles extend to every world in the 3D view, in two flavours: HD (one file under 2 GiB) and Maximum (zimsplit chunks), one installed at a time and verified against sha256 before replacing the other;
scripts/build_terrain.pyderives each body's heights for its pyramid. scripts/publish_almanac_tiles.pypublishes the hand-built tile source the releases CI builds from;scripts/verify_almanac_qids.pyaudits the 3D Earth's landmarks against Wikidata as the release gate.- The 3D Earth draws roads and place names from the installed map ZIM below a set altitude (
zimi/static/almanac-maps.js), plus a?debug3d=1log viewer for the 3D work.
Refactors
- The sky scene's invented cloud deck is removed (a place and a day are not weather); the beach helicopter stays, and sky settings are segmented controls, not native dropdowns.
- Almanac translations split per language into
i18n/almanac/*.json; browser tests share their WebGL flags through a singlebrowser_slotsmodule. - The reference tables draw every planet from the one VSOP87 module the other views use; the Almanac and the Games draw the same footer, defined once in
static.