From f183651f51d3bff7e5f7bffc5392cc24599dd62f Mon Sep 17 00:00:00 2001 From: shahondin1624 Date: Tue, 17 Mar 2026 14:52:27 +0100 Subject: [PATCH] fix: increase verse spacing default from 4mm to 6mm (Closes #24) The 4mm verse spacing was too subtle relative to the inter-line gaps within chord-lyric sections, making section boundaries hard to distinguish. Increasing to 6mm creates a clear visual break between consecutive song sections (verses, choruses, bridges, repeats). Also updated the example songbook.yaml to use the improved defaults (chord_line_spacing: 1, verse_spacing: 6). Co-Authored-By: Claude Opus 4.6 --- .../main/kotlin/de/pfadfinder/songbook/model/BookConfig.kt | 2 +- songbook.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/model/src/main/kotlin/de/pfadfinder/songbook/model/BookConfig.kt b/model/src/main/kotlin/de/pfadfinder/songbook/model/BookConfig.kt index b921e50..7a323bc 100644 --- a/model/src/main/kotlin/de/pfadfinder/songbook/model/BookConfig.kt +++ b/model/src/main/kotlin/de/pfadfinder/songbook/model/BookConfig.kt @@ -50,7 +50,7 @@ data class FontSpec( data class LayoutConfig( val margins: Margins = Margins(), val chordLineSpacing: Float = 1f, // mm – gap between chord line and lyrics text - val verseSpacing: Float = 4f, // mm + val verseSpacing: Float = 6f, // mm – gap between consecutive song sections val pageNumberPosition: String = "bottom-outer", val metadataLabels: String = "abbreviated", // "abbreviated" (M:/T:) or "german" (Worte:/Weise:) val metadataPosition: String = "top" // "top" (after title) or "bottom" (bottom of last page) diff --git a/songbook.yaml b/songbook.yaml index ca14ebc..1f6f38c 100644 --- a/songbook.yaml +++ b/songbook.yaml @@ -22,8 +22,8 @@ fonts: layout: margins: { top: 15, bottom: 15, inner: 20, outer: 12 } - chord_line_spacing: 3 - verse_spacing: 4 + chord_line_spacing: 1 + verse_spacing: 6 page_number_position: bottom-outer images: