lilypond-devel
[Top][All Lists]
Advanced

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

Re: issue 5312: Key cancellation glyph position inconsistent (issue 3430


From: Torsten Hämmerle
Subject: Re: issue 5312: Key cancellation glyph position inconsistent (issue 343020043 by address@hidden)
Date: Tue, 24 Apr 2018 15:55:23 -0700 (MST)

Joram Berger wrote
> Will it also look good for custom key signatures?

Hi Joram,

Well, in your example, there will be no difference between the old and new
coding:

The first two naturals with full overlap get a maximum extra padding of 0.3,
the second and third naturals are (vertically) so far apart that there will
be no extra padding at all.

In general, the algorithm can cope with custom key signatures as it compares
the individual vertical distance between neighbouring naturals and decides
whether to add extra padding (and how much) or not.

The following illustration (linked from issue #5312) compares the old and
new algorithm.

<http://lilypond.1069038.n5.nabble.com/file/t3887/key_cancellation_intervals.png>
 

Even if not all constellations that may occur in custom key signatures are
directly shown, you can see that the algorithm (checking if the intervals
marked in green touch, overlap or don't overlap) generally will work for any
interval and thus for any custom key signature.

All the best,
Torsten



--
Sent from: http://lilypond.1069038.n5.nabble.com/Dev-f88644.html



reply via email to

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