[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fw: collision between MMR and key signature
From: |
Neil Puttock |
Subject: |
Re: Fw: collision between MMR and key signature |
Date: |
Fri, 14 Jan 2011 21:25:23 +0000 |
On 13 January 2011 09:35, Keith OHara <address@hidden> 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
Fwd: collision between MMR and key signature, Jan Warchoł, 2011/01/13