> Hi,
> 
> I’m transcribing the pictured piece, and want my fermata to be a bit smaller 
> with a ‘poco’ above it. When I run the attached code it says:
> 
> programming error: Cannot get a text stencil from this font
> 
> continuing, cross fingers
> 
> … and prints a normal fermata. What am I doing wrong?
> 
> Thanks,
> Vaughan


Dear Vaughan,

It seems that the you need to tweak your variable a little bit, something like 
below:

%%BEGIN%%
pocoFermata = {
  \once \override Script.stencil = #ly:text-interface::print
  \once \override Script.text = \markup \center-column {
  \small \italic \serif "poco"
  \vspace #-0.4 \small \musicglyph "scripts.ufermata"
  } 
}
%%END%%

It’s the \serif that allowed the variable to work as expected.

Happy to help,
Yoshi 


Reply via email to