Kerning of accidentals in key signature

• Oct 8, 2014 - 01:32

1. Open attached score (produced in 2.0 beta).

Result: Questionable kerning of accidentals. Compare these:

MuseScore:
Kerning of accidentals in key signature - MuseScore.png

LilyPond 2.18.2:
Kerning of accidentals in key signature - LilyPond.png

Notes: The font of MuseScore is Emmentaler, but the kerning seems similar in Gonville and Bravura.

Discussion: What do others think? The sharps are probably fine (I had remembered this , but would probably agree with the comments of others), flats too possibly, but not the naturals - going from left to right, the ones starting at the top seem too far away from the previous.

Using MuseScore 2.0 Nightly Build 3855d63 - Mac 10.7.5.


Comments

In reply to by chen lung

I couldn't even guess the reason, but LilyPond has an internal inconsistency.

Compare the kerning of the seven naturals when they stand alone (which appears very nice) with how they are squeezed when they appear before the key signature change to seven sharps (distinctively different, and not very nice at all).

In reply to by chen lung

Key signatures and chords play by very different rules in MuseScore. The "kerning" in key signatures is done basically the same way for each accidental regardless of font, using a pre-calculated (by eye / tiral and error, I assume) value. "Kerning" of accidentals in chords is done much more precisely. The rule is simple in principle: there is a setting (Style / General / Note / Accidental distance) that controls the minimum distance between accidentals. In this case, it's measured from the lower right corner of the G# to the upper left of the C#.

*However*, there is a slight complication in that the rule for creating "columns" of accidentals by octave (the two C#'s in this example) takes precedence, and we can't kern between columns. So it's really the low C# that is preventing the high G# from being tucked in closer. The column formed by the two C# forms an impregnable barrier against kerning.

In other cases, though, it works just fine. Only accidentals that occur in octave columns are prevented from kerning.

In reply to by Marc Sabatella

FWIW, a couple of months ago I commented on a specific kerning matter that caught my eye in Emmentaler where a natural appears a sixth below a sharp:

accidentals layout issue for sixths

I don't intend to revive that query here, as I was completely satisfied with Marc's explanation. *However*, to those here who care about these things and didn't catch that thread before: do have a look-see simply for Marc's .mscz file called 'accidental-layout-stress-test'. It is an awesome resource to download and have available for anyone who is interested in tweaking the Style settings, especially now that we have three distinct musical symbols fonts from which to choose and the results of any settings changes can be examined immediately.

Hat tip to Marc for sharing that file with us!

Do you still have an unanswered question? Please log in first to post your question.