The attached minimal example turns off the line spanner for the text crescendo, but at linebreaks still gives a warning that the left point of the line spanner is after the right point.

If I turn off the line spanner (i.e. set style=#none), then no line spanner should be generated at all, and thus this warning should not be triggered, either.



reinhold@zweistein:~/temp$ lilypond -dpreview lilypond-text-spanner-bound.ly
GNU LilyPond 2.17.0
»lilypond-text-spanner-bound.ly« wird verarbeitet
Analysieren...
Interpreting music...
Vorverarbeitung der grafischen Elemente...
Ideale Seitenanzahl wird gefunden...
Musik wird auf eine Seite angepasst...
Systeme erstellen...
lilypond-text-spanner-bound.ly:12:3: Warnung: Line spanner's left point is to the right of its right point.
  c
   \cresc |\break
Layout nach »lilypond-text-spanner-bound.ps« ausgeben...
Konvertierung nach »./lilypond-text-spanner-bound.pdf«...
Layout nach »lilypond-text-spanner-bound.preview.eps« ausgeben...
Konvertierung nach »./lilypond-text-spanner-bound.preview.pdf«...
Konvertierung nach PNG...
Kompilation erfolgreich beendet


Cheers,
Reinhols
--
------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://www.kainhofer.com
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * Edition Kainhofer, Music Publisher, http://www.edition-kainhofer.com
\version "2.17.0"
\paper {
  ragged-right = ##t
}
\relative c'' {
  \override Score.DynamicTextSpanner #'style = #'none
  % a cresc that ends in the same line is okay
  c1\cresc | c c\! | 
  % but a cresc immediately before a line break will trigger a 
  % warning about the line-spanner ending before it started, even 
  % though we don't use any visible spanner:
  c\cresc |\break
  c\!
}

Attachment: lilypond-text-spanner-bound.preview.pdf
Description: Adobe PDF document

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to