I don't think I'm understanding font-family correctly.  And the documentation is not gelling with me.

I see a large number of font family names when I run the display fonts command.

But only roman, sans, and typewriter seem to have any affect when I set the font-family in the layout.

So far neither the lilypond documentation nor any any google searches is helping me understand how font families are set other then the three that seem to work. I'm hoping someone can help make it click for me.

Walt North

\version "2.24.4"

#(ly:font-config-display-fonts)

ly = \new Lyrics \lyricmode { \repeat unfold 4 { word1 }}

\score {
  \ly
}

\score {
  \layout {
    \context {
      \Lyrics
      \override LyricText.font-family = #'typewriter
    }
  }
  \ly
}

\score {
  \layout {
    \context {
      \Lyrics
      \override LyricText.font-family = #'sans
    }
  }
  \ly
}

\score {
  \layout {
    \context {
      \Lyrics
      \override LyricText.font-family = #'Consolas
    }
  }
  \ly
}



Reply via email to