[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Spacing engine border-case bug
From: |
Daniel Johnson |
Subject: |
Spacing engine border-case bug |
Date: |
Wed, 24 Oct 2007 00:07:31 -0400 |
\version "2.11.34"
%{
Certain border cases in spacing with lyrics result in "cruelty to springs"
programming errors, and subsequent disregard for right margins, in some
cases
overflowing the edge of the page.
In the example below, the lyric syllables "bla" or "verylongtext" will
result
in correct layout, but "blaa" or "veryverylongtext" will reproduce the bug.
This bug appears both with the default page breaker and with
optimal-page-breaks. If the dis in VoiceI is changed to a d, the problem
disappears.
%}
\markup { \fill-line { "" "right margin -> |" } }
<<
<<
\new Voice = voiceI { \voiceOne c''8 dis''4 c''8 c''2 | c''1 }
\\
\new Voice = voiceII { \voiceTwo g'1 | g'4. g'16 g'16 g'2 }
>>
\new Lyrics \lyricsto voiceI \lyricmode { \repeat unfold 5 { blaa } }
>>
- Spacing engine border-case bug,
Daniel Johnson <=