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

_______________________________________________
bug-lilypond mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-lilypond

Reply via email to