bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Line break after parenthesized crescendo with a spanner style of none cr


From: Knute Snortum
Subject: Line break after parenthesized crescendo with a spanner style of none creates programming errors
Date: Sat, 24 Feb 2024 15:47:44 -0800

This is a weird one and hopefully I've properly distilled the MWE.  Here's
what I think is happening:

If you have a parenthesized crescendo with a spanner style of none, when
the line breaks, it creates two small parentheses under the new line and
throws two programming errors.  Here's the MWE:

\version "2.25.13"

music = \relative {
  c''4 c c c | \break
  c4 c c c |
}

dynamics = {
  \override DynamicTextSpanner.style = #'none
  s2. s4\parenthesize\cresc |
  s4 s2.\! |
}

<<
  \new Staff \music
  \new Dynamics \dynamics
>>

The output looks like this:

Processing `/home/knute/Documents/LilyPond/ChopinFF/Op34/test-for-errors.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

programming error: Improbable offset for stencil: inf staff space

Setting to zero.

continuing, cross fingers

programming error: Improbable offset for stencil: -inf staff space

Setting to zero.

continuing, cross fingers

Converting to `test-for-errors.pdf'...

Success: compilation successfully complete


--
Knute Snortum


reply via email to

[Prev in Thread] Current Thread [Next in Thread]