Re: [HELP] Change notehead font-size depending on note duration

2022-03-01 Thread Valentin Petzel
I understand. Maybe we could make sure to evaluate relevant properties in music_font_alist_chain should they be a callback? Alternatively we might also change the internal callback structure. Kind of if a property is a callback ((grob) ...) we might wrap it into a function like (() ((grob) ...)

Re: [HELP] Change notehead font-size depending on note duration

2022-03-01 Thread Jean Abou Samra
Le 01/03/2022 à 20:34, Valentin Petzel a écrit : Hello Robert, the problem here is that the font-size property of the NoteHead is not evaluated. (This happens from time to time, and I’m not sure why this is so.) Look at Font_interface::get_default_font. It takes a property alist chain from t

RE: [HELP] Change notehead font-size depending on note duration

2022-03-01 Thread Robert Mengual
: lilypond-user@gnu.org CC: Robert Mengual Asunto: Re: [HELP] Change notehead font-size depending on note duration Hello Robert, the problem here is that the font-size property of the NoteHead is not evaluated. (This happens from time to time, and I’m not sure why this is so.) To get your callback

Re: [HELP] Change notehead font-size depending on note duration

2022-03-01 Thread Valentin Petzel
Hello Robert, the problem here is that the font-size property of the NoteHead is not evaluated. (This happens from time to time, and I’m not sure why this is so.) To get your callback working you can ensure that the font-size is calculated by doing something like \override NoteHead.stencil

Re: [HELP] Change notehead font-size depending on note duration

2022-03-01 Thread David Kastrup
Robert Mengual writes: > Hello everyone, > > I am facing a challenge in which I have been stuck already 7 days. I > am sending this email as my last hope to get this done or at least > receive any assistance that allows me to move forward. I really hope > you can help me. > > Find attached a Tiny

[HELP] Change notehead font-size depending on note duration

2022-03-01 Thread Robert Mengual
Hello everyone, I am facing a challenge in which I have been stuck already 7 days. I am sending this email as my last hope to get this done or at least receive any assistance that allows me to move forward. I really hope you can help me. Find attached a Tiny.ly, I did the same for changing thin