> On 31 Dec 2024, at 22:03, Mike iLL Kilmer <m...@mzoo.org> wrote:
> 
> 
> Hi all and happy new year.
> 
> To overwrite the typeface/font in LyricText I'm doing this:
> 
>       ```words = \lyricmode { 
>                \override LyricText.font-name = "American Typewriter" 
>               I am a ly -- ric
>       }```
> 
> Where "American Typerwriter" is a TrueType font located at 
> `/System/Library/Fonts/Supplemental/AmericanTypewriter.ttc` and comes up in 
> the output of `#(ly:font-config-display-fonts)`:
> 
> family American Typewriter
>  American Typewriter:style=Semibold
> family American Typewriter
>  American Typewriter:style=Bold
> family Academy Engraved LET
>  Academy Engraved LET:style=Plain
> family American Typewriter
>  American Typewriter:style=Condensed
> Etc...
> 
> However I can't seem to get the `bold` or `semibold` series to render:
> 
> Have tried various cases and variants on `\override LyricText.font-series = 
> #'bold`.
> 
> Seems it's looking for a symbol and not a string.
> 
> As always input gratefully appreciated.
> 
> –Mike

Based on what's written at

https://lilypond.org/doc/v2.24/Documentation/notation/fonts#single-entry-fonts

I would guess that using

%%
\override LyricText.font-name = "American Typewriter Bold" 
%%

would make it work for you

Reply via email to