That seems to do the trick. It still is unexpected behaviour, one wouldn't think that changing one of the font-related variable settings would reset all the others. Has this been changed on the development branch? Otherwise it's probably an issue to consider, most other settings can be defined in whichever order.
Cheers, AJ Am Fr., 12. Sept. 2025 um 13:29 Uhr schrieb Abraham Lee < tisimst.lilyp...@gmail.com>: > Try putting the commented line above the paper block, or even the book > block and that should sort it out. It’s a LP quirk, not a Haydn quirk. > > The commented line *resets* the “fonts” variable. So, after setting it to > Haydn, that line reverts it back to Emmentaler. But if you do the reverse, > it should get you what you want. > > And don’t forget the sizing variable at the end of the “define fonts” call. > > HTH, > Abraham > > > On Fri, Sep 12, 2025 at 11:23 AM Aleksa Jakovljevic < > alex.jakovljevic...@gmail.com> wrote: > >> Hi all, >> >> I was updating some old scores of mine and just noticed that the Haydn >> font doesn't appear to work even though it is installed correctly, unless >> the layout staff size is exactly the default 20. For example: >> \version "2.24.4" >> >> \book { >> \paper { >> #(set-paper-size "letter") >> #(define fonts >> (set-global-fonts >> #:music "haydn" >> #:brace "haydn" >> #:roman "Georgia" >> )) >> %%#(layout-set-staff-size 15.71) %%5.5 mm >> } >> >> \score { >> \relative c' { c4 d e f g a b c } >> } >> } >> Produces this (i.e. font as expected, but staff spacing at 20 pts/7.0 mm): >> [image: image.png] >> If I leave it as is, but I put the commented line back in, I get this >> (i.e. smaller staff size, but the font is the Emmentaler default): >> [image: image.png] >> >> Is this a limitation of the Haydn font or some unexpected bug? I do know >> of a little work-around to get what I want (generating the scores at a >> larger size and rescaling via an external app), but that's obviously >> time-consuming, and I'd expect there should be a way to make this work >> directly. >> >> Cheers, >> >> Aleksa Jakovljevic, >> harpsichordist / organist / musicologist >> Montreal, Canada >> >>