bug-lilypond
[Top][All Lists]
Advanced

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

Re: Note stem centered if font.name changed in EasyHeads


From: James
Subject: Re: Note stem centered if font.name changed in EasyHeads
Date: Wed, 28 Apr 2021 11:06:26 +0000

Hello

On 02/04/2021 11:17, Jean Abou Samra wrote:
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 <http://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

_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-lilypond

I didn't notice any issue created since this was reported.

So I have created

https://gitlab.com/lilypond/lilypond/-/issues/6132


--
--

regards

James

Attachment: OpenPGP_0x111CA298156CCB85.asc
Description: OpenPGP public key

Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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