[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-bug
Subject:    Line break after parenthesized crescendo with a spanner style of none creates programming errors
From:       Knute Snortum <ksnortum () gmail ! com>
Date:       2024-02-24 23:47:44
Message-ID: CALmeJxTA_HOwtPrT9AFCd5t+DX00p7fXrdCbWkJfTU5-D6VWOg () mail ! gmail ! com
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic