bug-lilypond
[Top][All Lists]

## Issue 2058 in lilypond: horizontal spacing allows space for neighboring

 From: lilypond Subject: Issue 2058 in lilypond: horizontal spacing allows space for neighboring staves in surprising ways Date: Sun, 27 Nov 2011 19:21:44 +0000

Status: Started
Owner: ----
Labels: Type-Maintainability


New issue 2058 by address@hidden: horizontal spacing allows space for neighboring staves in surprising ways
http://code.google.com/p/lilypond/issues/detail?id=2058


The required horizontal space is determined when the score is (conceptually) one long unbroken line, and with the lines of Staves, Dynamics, Lyrics, etc., tentatively spaced as closely as possible based on coarse estimates of the eventual heights of their contents.


The results can appear mysterious, most often in short scores like the regression tests. In the examples below, LilyPond makes different decisions about now a lyric should avoid the treble clef, depending on other notes that might be on a different line or page. This is, in a sense, left over from issue 1229 (comment 13).

\version "2.14"
\paper {ragged-right = ##t indent = 0}
<< \new Staff {g1 \break g'2 r2 \bar"|."}
<< \new Staff {g'1 \break g'2 r2 \bar"|."}


Started at http://codereview.appspot.com/5354043/ so that the tentative spacing of lines mentioned above is based on the ideal, not minimum,spacing. Then the results more often make sense when looking at the final output, and short scores more often act like realistically long scores. The lyric above would always go under the treble clef.

Attachments:
2058.png  7.3 KB