Anchor footer elements (metadata, notes, references) to bottom of page #31
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Currently, footer elements on song pages — Worte/Weise metadata, explanatory notes, and reference book page numbers — are rendered flowing directly after the song content. This means they appear at different vertical positions depending on how much content a song has, creating an inconsistent layout across pages.
These elements should always be bottom-anchored: rendered at a fixed position near the bottom of the page (just above the page number), regardless of where the song content ends. This matches the layout of the original CL6 PDF where the reference table and metadata are always at the page bottom.
Current Behavior
Expected Behavior
Acceptance Criteria
footerReservationcalculation continues to correctly reserve space so content doesn't overflow into the footer areaImplementation Hints
In
PdfBookRenderer.renderSongPage(), instead of rendering notes/metadata/references at the currentyposition after content:calculateFooterReservation())bottomMargin + pageNumberHeightyMinto prevent overflow into the footer area