Re: set-global-font challenge in 2.26.0
Knute Snortum <[email protected]> Sun, 21 Jun 2026 11:45:24 -0700
| Newsgroups | gmane.comp.gnu.lilypond.general |
|---|---|
| Message-ID | <CALmeJxSppVXhbNzH4bTk=D6MLBhNNz7c42XBGmQpXPbTN=hVXg@mail.gmail.com> |
On Sun, Jun 21, 2026 at 11:29 AM Werner LEMBERG <[email protected]> wrote: > > > Updating to 2.26.0 (using Frescobaldi’s preferences) broke my use of > > the lilyjazz font set. [...] > > I don't know the Frescobaldi stuff, however, ... > > > [...] So I tried commenting "\include lilyjazz.ily" out and using: > > > > \paper { > > #(set-paper-size "letter") > > indent = 0.0 > > ragged-last = ##f > > > > #(define fonts > > (set-global-fonts > > #:music "LilyJAZZ" > > #:brace "LilyJAZZ" > > #:roman "Lilyjazz-text" > > #:sans "Lilyjazztext" > > > > )) > > > > } > > > > This is copied straight out of the documentation with the font names > > changed. > > ... this you got wrong: the syntax for setting fonts is different with > version 2.26 – please always check what has changed! > > > https://lilypond.org/doc/v2.26/Documentation/changes/text-and-font-improvements > > > Werner > You can update lilyjazz.ily in Frescobaldi by going to Tools -> Update with convert-ly. For me, the change was this: %%% \version "2.26.0" \paper { property-defaults.fonts.music = "lilyjazz" property-defaults.fonts.serif = "lilyjazz-text" property-defaults.fonts.sans = "lilyjazz-chord" } %%% -- Knute Snortum