Re: set-global-font challenge in 2.26.0

Knute Snortum <[email protected]> Fri, 26 Jun 2026 07:33:45 -0700
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <CALmeJxQC+cFciWEP1Tsw7WnPm-meci683MQ0cpf=OOmb2oivZw@mail.gmail.com>
--
Knute Snortum



On Thu, Jun 25, 2026 at 6:37 PM [email protected] <[email protected]>
wrote:

> Can you post a MWE?  (Minimal Working Example, where "minimal" means as
> small as possible and "working" means it compiles but shows the error.)
>
>
> Sorry for the slow reply, busy week.
>
>
Don't know why, but you have to set sans and typewriter to
"lilyjazz-chord",

%%%
\version "2.26.0"

\paper {
    #(set-paper-size "letter")
    indent = 0.0
    ragged-last = ##f

  property-defaults.fonts.music = "lilyjazz"
  property-defaults.fonts.serif = "lilyjazz-text"
  property-defaults.fonts.sans = "lilyjazz-chord"       %%% changed
  property-defaults.fonts.typewriter = "lilyjazz-chord" %%% changed
}

harmonies =  \chordmode {
  g1:maj7
}

melody =    \relative c' {
  \numericTimeSignature
  \time 4/4
  \clef treble
  \key d \major

  % 1
  b1^"This is text"
}

\score {
  <<
    \new ChordNames
     {
      \set chordChanges = ##t
      \harmonies
    }
    \new Staff \melody
    \new Lyrics \lyricmode { lilypond }
  >>

}
%%%