[MuseScore] Kerning of accidentals

Recommendations concerning notation and publishing software in a non-partisan environment.
Post Reply
User avatar
OCTO
Posts: 1751
Joined: 05 Oct 2015, 06:52
Location: Sweden

[MuseScore] Kerning of accidentals

Post by OCTO »

Very nice. Tried in Finale 2014 and the result is negative.
This one rocks!
Screen Shot 2015-12-01 at 14.58.41.png
Screen Shot 2015-12-01 at 14.58.41.png (24.04 KiB) Viewed 12927 times
Freelance Composer. Self-Publisher.
Finale 27.5 • Sibelius 2024.3• MuseScore 4+ • Logic Pro X+ • Ableton Live 11+ • Digital Performer 11 /// MacOS Monterey (secondary in use systems: Fedora 35, Windows 10)
User avatar
tisimst
Posts: 417
Joined: 08 Oct 2015, 17:57
Location: UT, USA
Contact:

Re: [MuseScore] Kerning of accidentals

Post by tisimst »

OCTO wrote:Very nice. Tried in Finale 2014 and the result is negative.
This one rocks!
That's because MS uses the special "cutOutXXX" anchors in the accidental glyphs (as defined by the SMuFL standard) specifically for this purpose.
Music Typeface Designer & Engraver - LilyPond | Sibelius | Finale | MuseScore | Dorico | SMuFL | Inkscape | FontForge
User avatar
OCTO
Posts: 1751
Joined: 05 Oct 2015, 06:52
Location: Sweden

Re: [MuseScore] Kerning of accidentals

Post by OCTO »

You speak for me an alien language, tisimst... :-)
But I guess what you want to say!
Freelance Composer. Self-Publisher.
Finale 27.5 • Sibelius 2024.3• MuseScore 4+ • Logic Pro X+ • Ableton Live 11+ • Digital Performer 11 /// MacOS Monterey (secondary in use systems: Fedora 35, Windows 10)
Knut
Posts: 867
Joined: 05 Oct 2015, 18:07
Location: Oslo, Norway

Re: [MuseScore] Kerning of accidentals

Post by Knut »

OCTO wrote:You speak for me an alien language, tisimst... :-)
But I guess what you want to say!
Haha, yes, this aspect is definitely not meant for the uninitiated (read: non developers/designers) to worry about.

Basically, for certain glyphs, SMuFL includes specific coordinates that an application may use to consider any 'cut outs' or white space within a glyph's bounding box when kerning glyphs automatically. That way, glyphs like accidentals can be automatically kerned beyond the borders of their bounding box. Here's an illustration:
SMuFL cutOuts.png
SMuFL cutOuts.png (211.37 KiB) Viewed 12916 times
User avatar
tisimst
Posts: 417
Joined: 08 Oct 2015, 17:57
Location: UT, USA
Contact:

Re: [MuseScore] Kerning of accidentals

Post by tisimst »

In effect, this changes the accidental kerning from the left group to the right one (this is taken from the SMuFL manual):
accidental-kerning-smufl-example.png
accidental-kerning-smufl-example.png (43.3 KiB) Viewed 12898 times
Music Typeface Designer & Engraver - LilyPond | Sibelius | Finale | MuseScore | Dorico | SMuFL | Inkscape | FontForge
Knut
Posts: 867
Joined: 05 Oct 2015, 18:07
Location: Oslo, Norway

Re: [MuseScore] Kerning of accidentals

Post by Knut »

tisimst wrote: (this is taken from the SMuFL manual)
Just to be clear, so was mine.
User avatar
OCTO
Posts: 1751
Joined: 05 Oct 2015, 06:52
Location: Sweden

Re: [MuseScore] Kerning of accidentals

Post by OCTO »

Thanks for that, it is explained very well!
Freelance Composer. Self-Publisher.
Finale 27.5 • Sibelius 2024.3• MuseScore 4+ • Logic Pro X+ • Ableton Live 11+ • Digital Performer 11 /// MacOS Monterey (secondary in use systems: Fedora 35, Windows 10)
User avatar
tisimst
Posts: 417
Joined: 08 Oct 2015, 17:57
Location: UT, USA
Contact:

Re: [MuseScore] Kerning of accidentals

Post by tisimst »

And just for the record, LilyPond also kerns accidentals (always has,even before SMuFL was born), though it appears to not be quite as tight as the MS one above:
lilypond-accidental-kerning.png
lilypond-accidental-kerning.png (12.17 KiB) Viewed 12875 times
Music Typeface Designer & Engraver - LilyPond | Sibelius | Finale | MuseScore | Dorico | SMuFL | Inkscape | FontForge
Knut
Posts: 867
Joined: 05 Oct 2015, 18:07
Location: Oslo, Norway

Re: [MuseScore] Kerning of accidentals

Post by Knut »

tisimst wrote:And just for the record, LilyPond also kerns accidentals (always has,even before SMuFL was born), though it appears to not be quite as tight as the MS one above:
lilypond-accidental-kerning.png
How does Lilypond handle this with other fonts than the default. Does it kern each type of accidental by a set amoun, or does it analyze the shape in any way?
User avatar
tisimst
Posts: 417
Joined: 08 Oct 2015, 17:57
Location: UT, USA
Contact:

Re: [MuseScore] Kerning of accidentals

Post by tisimst »

Knut wrote:How does Lilypond handle this with other fonts than the default. Does it kern each type of accidental by a set amoun, or does it analyze the shape in any way?
It looks like it actually solves a horizontal skyline problem, in combination with some basic assumptions (e.g., accidentals an octave away shouldn't collide, so no offset is necessary, etc.). In other words, it does take the side contours of the accidental glyphs into account and then pads them.
Music Typeface Designer & Engraver - LilyPond | Sibelius | Finale | MuseScore | Dorico | SMuFL | Inkscape | FontForge
Post Reply