bug-lilypond
[Top][All Lists]
Advanced

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

ChordName accidentals don’t scale properly


From: Malte Meyn
Subject: ChordName accidentals don’t scale properly
Date: Sun, 1 Jul 2018 14:39:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

Hi list,

The function alteration->text-accidental-markup (l. 33ff. in scm/chord-name.scm) seems to ignore current font size while raising the accidental:

%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.19.82"

\markup \concat { E #(alteration->text-accidental-markup FLAT) }
\markup \concat { E #(alteration->text-accidental-markup SHARP) }

\markup \fontsize #-10 \concat { E #(alteration->text-accidental-markup FLAT) } \markup \fontsize #-10 \concat { E #(alteration->text-accidental-markup SHARP) }

\markup \fontsize #10 \concat { E #(alteration->text-accidental-markup FLAT) } \markup \fontsize #10 \concat { E #(alteration->text-accidental-markup SHARP) }
%%%%%%%%%%%%%%%%%%%%%%%%%%

This leads to ugly ChordNames when font-size is relatively small. I’ve no idea how to retrieve the current font-size. Maybe this should be a real markup-command?

Cheers,
Malte



reply via email to

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