[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Lilypond-auto] Issue 4173 in lilypond: horizontal spacing is not stretc
From: |
lilypond |
Subject: |
[Lilypond-auto] Issue 4173 in lilypond: horizontal spacing is not stretched to fit a 'broken' spanner with long text on its second line |
Date: |
Mon, 20 Oct 2014 18:29:31 +0000 |
Status: Accepted
Owner: ----
Labels: Type-Ugly
New issue 4173 by address@hidden: horizontal spacing is not stretched to
fit a 'broken' spanner with long text on its second line
https://code.google.com/p/lilypond/issues/detail?id=4173
On 20/10/14 17:43, David Nalesnik wrote:> In the following snippet,
horizontal spacing is not stretched to fit the
broken spanner with long text on its second line.
It may be that proper accommodation requires at least one bound of
TextSpanner to be set to NoteColumn. In the snippet, one of the bounds of
the sibling on either the first or third line is set to NoteColumn, while
the sibling on the middle line is bounded on left and right by
NonMusicalPaperColumn.
(The snippet outputs the bound information.)
#(define (display-bounds grob)
(format #t "spanner: ~a LEFT: ~a RIGHT: ~a~%"
grob
(ly:spanner-bound grob LEFT)
(ly:spanner-bound grob RIGHT)))
\score {
\relative c' {
\override TextSpanner.after-line-breaking = #display-bounds
\override TextSpanner.minimum-length = #50
\override TextSpanner.springs-and-rods = #ly:spanner::set-spacing-rods
\override TextSpanner.bound-details.left.text =
\markup { \upright "an excessively long text indication" }
a4 \startTextSpan c d e
\break
a4 b c d
\break
a b c d\stopTextSpan
}
\layout {
ragged-right = ##t
}
}
Attachments:
text-spanner-bug.png 16.6 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
- [Lilypond-auto] Issue 4173 in lilypond: horizontal spacing is not stretched to fit a 'broken' spanner with long text on its second line,
lilypond <=