Files

Flourish spacing — 20px preview

Separate shared-layer spacing experiment for Uncommon, Rare and Extraordinary. Canonical layers, accepted cards, working revisions and harness fixtures are unchanged.

Each central flourish has a 20px master-canvas gap from its visible ink edge to the inward-facing ink edge of the innermost rule. The header and lower footer use the bottom rule; the upper footer uses the top rule. This equals 10px at standard resolution and 5px at low resolution. Inkscape visual bounds include ornament stroke thickness. Panel dimensions, textures, inset rules and side ornaments stay fixed.

The preview uses Borderless cards so the backing is visible in isolation. The corresponding Normal panels use the same vertical inset/ornament geometry. The same artwork and lettering are retained, except the Rare attribution moves upward 4 master pixels and Extraordinary attribution 3 master pixels to maintain at least 20px of reference-to-flourish clearance. Uncommon lettering is unchanged.

All nine measured flourish-to-rule gaps are 20px within Inkscape query precision. Every “Current” composition matches its existing high-resolution production Borderless card pixel-for-pixel. Preview PNGs and editable SVGs are under output/[tier]/. No finish maps were rebuilt for this static spacing comparison.

Run from the Sanctification repository:

python3 spikes/flourish-spacing-20px-proof/build.py

Visual acceptance of this spacing rule is pending. This experiment does not change shared library versions or general typography guidelines.

Full typography comparison

Fresh typesetting against the 20px preview backings is under output-retyped/:

All text is rebuilt from card content. One-line titles use shared P052 Bold at 112px; the approved two-line Uncommon title uses 100px. Verse and attribution use shared P052 Medium at 80px and 57px. Wording, translation attribution, palette and art are unchanged.

The whole title block is centered in the available area above the header flourish, with 20px minimum clearance from both the upper inner rule and flourish. Actual reference ink ends 20px above the lower flourish. The verse block is centered in the remaining footer band, reserving at least 40px below the upper flourish and 64px before the attribution. These are provisional comparison layout rules, not changes to canonical typography.

Font hashes, exact face resolution, glyph coverage, minimum sizes, unclipped object/raster bounds, opaque backing beneath glyphs and text clearance are checked. This remains a static typography/backing proof; finish masks and runtime fixtures are not regenerated.

python3 spikes/flourish-spacing-20px-proof/build.py --retype-text

Verse centering by visible ink

Footer comparison and full-card lineup compare the previous retyped layout against direct visible-ink centering.

The upper boundary is the bottom visible ink edge of the upper footer flourish. The lower boundary is the top visible ink edge of the reference. Center the union of all verse lines' unclipped raster ink bounds between those boundaries. No 40/64px or 48px allowances participate in placement. Minimum clearance is checked separately after centering. Raster rounding permits at most one master pixel of difference between the resulting upper/lower gaps.

Only verse baselines move. The shared fonts, sizes, line spacing, wording, header, reference and 20px backing preview are unchanged. The prior comparisons and all production assets remain intact.

python3 spikes/flourish-spacing-20px-proof/center-verses.py

Centering measurements record the actual visible bounds, shifts and resulting gaps for each card.

Fixed reference baseline trial

This separate trial anchors every reference with the same font-derived line box at 57 master pixels. The pinned Medium font has a 726-unit hhea ascender, a 274-unit nominal descender and a 288-unit global outline descender on a 1000-unit em. Round the ascender upward to 42px and the larger descender allowance upward to 17px. The expanded Medium outlines need that extra allowance for letters such as lowercase p. Font line gap is not used here.

reference baseline = lower flourish visible ink top − 20px − 17px

Thus the fixed line-box bottom is always 20px above the flourish. Actual ink clearance can be larger for text without descenders, which is intentional: translation letters no longer change the baseline. Center the combined visible verse ink between the upper flourish's visible bottom and the fixed reference line-box top. No prescribed 48px margin participates in centering.

The guide sheet uses purple for the reference line box, red for its baseline, teal for actual glyph bounds, and green for flourish boundaries. Independent unclipped reference renders exercise NKJV, ESV, KJV and Philippians; the font metrics remain identical for every wording. Output sizes are 2000/1000/500 pixels wide, with geometric spacing scaled proportionally. All previously generated comparison inputs and canonical sources are checked for byte preservation.

python3 spikes/flourish-spacing-20px-proof/fixed-reference-baseline.py

The fixed-baseline comparison was visually approved on September 14, 2026: “I think this looks really good.” The spacing rule is now recorded in Art Direction, with verification in the pipeline. Production layouts, versioned shared layers and harness fixtures have not been migrated by this experiment. No finish masks were rebuilt.