fix: position reference footer below content to prevent overlap (Closes #25) #28

Merged
shahondin1624 merged 1 commits from feature/issue-25-fix-reference-rendering into main 2026-03-17 14:59:49 +01:00

1 Commits

Author SHA1 Message Date
shahondin1624
6d67c051f0 fix: position reference footer below content to prevent overlap (Closes #25)
The reference footer was anchored to a fixed position near the bottom
margin, causing it to overlap with notes text on songs that had both
notes and references (e.g., "Die Gedanken sind frei").

Changed renderReferenceFooter to use flow-based positioning from the
current y-position after notes/metadata, ensuring the separator line,
abbreviation headers, and page numbers always render below the
preceding content without overlap.

Also updated calculateFooterReservation and MeasurementEngine to match
the simplified layout calculation, and added toc.highlight_column to
the example songbook.yaml to demonstrate column highlighting.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-17 14:59:20 +01:00