Subj : src/doors/syncdoom/syncdoom.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Sun Jun 28 2026 00:21:32 https://gitlab.synchro.net/main/sbbs/-/commit/08a80d9075f1cb72d08646d5 Modified Files: src/doors/syncdoom/syncdoom.c Log Message: syncdoom: use shared termgfx_geom_fit/center (phase 2 of the geometry unification) SyncDOOM's compute_geometry computed the fit-to-canvas image size and the center offset inline; SyncDuke now calls the same logic in termgfx/geometry.c. Replace Doom's inline math with termgfx_geom_fit() + termgfx_geom_center() so the two doors share one implementation instead of parallel copies. This is a pure refactor -- verified bit-identical to the old inline code across 8910 (vw, vh, cap) cases, 0 mismatches. The sixel-640 cap selection, the PPM / no-scale-fit branches, and the sixel-without-real-cell-size top-left override all stay in Doom (they're tier/door policy around the shared fit/center core). Co-Authored-By: Claude Opus 4.8 --- þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net .