Updating to 2.26.0 (using Frescobaldi’s preferences) broke my use of the
lilyjazz font set. I’ve tried several things. First, Lilypond could not find
the fonts which are located in the Mac font library. IDK if this is due to
where Frescobaldi puts Lilypond when installed using the Frescobaldi tool. I
copied the fonts into Lilypond’s own font directory, as I used to have to do
years back.
I’ve used \include lilyjazz.ily for quite a few years. I ran convert-ly on it
but fails to run successfully- it fails with:
Parsing...
Interpreting music...[8][16][24][32][40][48][56]
Preprocessing graphical objects...
fatal error: cannot find font 'lilyjazz-20' (search path:
/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/ly:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/ps:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/scm:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/fonts/otf/:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/fonts/svg/:)
Exited with return code 1.
This will fail, at least in part, because there is no font named “lilyjazz-20”
and I don’t know why Lilypond is looking for it. It is not called by that name
within lilyjazz.ily. 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.
IDK whether the font names are case sensitive, so that is one potential pitfall
(also, both lilyjazztext and lilyjazz-text exist and I have no idea if they are
different in any way). FWIW all the fonts are .otf.
In any event, this fails with:
Parsing...
/Users/tim/Music/Music Charts/Lilypond Charts/Rock Tunes/Ventura
Highway/Ventura Highway.ly:10:6 <0>: error: Guile signaled an error for the
expression beginning here
#
(define fonts
Unbound variable: set-global-fonts
Interpreting music...[8][16][24][32][40][48][56]
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 or 2 pages...
Drawing systems...
Converting to `Ventura Highway.pdf'...
fatal error: failed files: "/Users/tim/Music/Music Charts/Lilypond Charts/Rock
Tunes/Ventura Highway/Ventura Highway.ly"
Exited with return code 1.
Using both set-global-fonts and \include lilyjazz.ily results in (as expected)
both sets of errors:
Parsing...
/Users/tim/Music/Music Charts/Lilypond Charts/Rock Tunes/Ventura
Highway/Ventura Highway.ly:10:6 <0>: error: Guile signaled an error for the
expression beginning here
#
(define fonts
Unbound variable: set-global-fonts
Interpreting music...[8][16][24][32][40][48][56]
Preprocessing graphical objects...
fatal error: cannot find font 'lilyjazz-20' (search path:
/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/ly:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/ps:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/scm:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/fonts/otf/:/Users/tim/Library/Application
Support/frescobaldi/frescobaldi/lilypond-binaries/lilypond-2.26.0/share/lilypond/2.26.0/fonts/svg/:)
Exited with return code 1.
Clearly I am doing something wrong but can’t figure out what. Why is
set-global-fonts turning up as an unbound variable? Why is Lilypond looking for
a font (lilyjazz-20) that is not specified anywhere?
Thanks for any assistance anyone can offer.