lilypond-user
[Top][All Lists]
Advanced

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

Re: Changing font-name in \easyHeadsOn renders strange stem positions (a


From: Viktor Mastoridis
Subject: Re: Changing font-name in \easyHeadsOn renders strange stem positions (and initiates warnings)
Date: Mon, 14 Aug 2023 17:11:58 +0100

Try

\version "2.24.1"

\new Staff  {
  \relative c {
    \easyHeadsOn
    \override NoteHead.font-name = "Ubuntu"
    \override NoteHead.stem-attachment =
      #(lambda (grob)
         (if (eqv? UP (ly:grob-property (ly:grob-object grob 'stem) 'direction))
             '(1.05 . 0)
             '(-1.05 . 0)))
    c'8 d e g a b c d 
  }
}


It's perfect!
Thank you very much.
Viktor

reply via email to

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