|
From: | Viktor Mastoridis |
Subject: | Re: Note stem centered if font.name changed in EasyHeads |
Date: | Fri, 2 Apr 2021 14:05:24 -0700 |
Le 02/04/2021 à 12:03, Viktor Mastoridis a écrit :
\version "2.20.0"
\relative c'' {
 \easyHeadsOn
 \override NoteHead.font-name = #"Ubuntu"
 a b c d}
Hello,
If I try to change the font.name in EasyHeads, the stem gets to the middle of the note-head (see attached image).And Lilypond says: "none of note heads `noteheads.s' or `noteheads.d' found"
Any clues?
Hello,
This qualifies as a bug -- I am forwarding your report to the bug list.
Here is a workaround:
\version "2.22.0"
\relative c'' {
 \easyHeadsOn
 \override NoteHead.font-name = "Ubuntu"
 \override NoteHead.stem-attachment = #'(1.05 . 0)
 a b c d
}
Technically, the problem is that
ly:note-head::calc-stem-attachment
uses the glyph that would be printed without \easyHeadsOn, and
the font-size override confuses that code since note heads require
a music font.
Best,
Jean
[Prev in Thread] | Current Thread | [Next in Thread] |