On 06/12/2025 16:06, Gabriel Ellsworth wrote:

I’m having some trouble with customizing typefaces/fonts in this code. I cannot get the \bold command to work, and for some reason I can’t use the Garamond typeface. Can anyone help?


The code you posted is not relevant. Here is how to get Arial bold. Selecting Garamond works fine for me on my Ubuntu Linux system. The documentation for font selection has been changed in the 2.25 beta releases. Font selection in LilyPond is not my area of expertise so perhaps someone else can comment further on what is happening.

\version "2.24.0"

\markup \column {
  "Default"
  \bold "Default bold"
  \override #'(font-name . "Arial") "Arial"
  \override #'(font-name . "Arial") \bold "Not Arial bold"
  \override #'(font-name . "Arial bold") "Arial bold"
}

--
Timothy Lanfear, Bristol, UK.

Reply via email to