lilypond-user
[Top][All Lists]
Advanced

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

font-family


From: Walt North
Subject: font-family
Date: Wed, 2 Oct 2024 09:43:01 -0700
User-agent: Mozilla Thunderbird

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

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