On 13 January 2011 09:35, Keith OHara <[email protected]> wrote:

> Setting extra-spacing-height for KeySigs (or KeyCancels, or both) gives a
> clean make check.
> I checked that issue 1120 remains fixed; and experimented a bit looking for
> other trouble, found none.

This is as I expected.

One thing I found troubling was the behaviour of clefs: why don't they
collide with full-bar rests?

If you switch on skyline debugging for the horizontal skylines, you'll see why:

\relative c' {
  \override Staff.KeySignature #'extra-spacing-height = #'(0 . 0)
  c1
  \key a \major
  \break
  R1
}

\relative c' {
  c1
  \clef bass
  \break
  R1
}

\layout {
  indent = 0
  ragged-right = ##t
  \context {
    \Score
    \override NonMusicalPaperColumn #'stencil = #ly:separation-item::print
  }
}

#(ly:set-option 'debug-skylines)

Clefs are taken into account (shown by the yellow-blue skyline pair)
when calculating horizontal skylines for NonMusicalPaperColumn,
whereas key signatures are completely ignored.

We can ensure KeySignature is accounted for by adding it to
`pure-print-callbacks'.

Cheers,
Neil

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

Reply via email to