In fairness, when Emmentaler was the only font available, it didn’t matter
what order you put things in. I only discovered it when I created Haydn and
others.

And, yes, there’s a new mechanism now for font handling that makes this
problem go away that I’d encourage you to look up. I can’t recall if it’s
part of 2.24 or 2.25, but it’s there.

HTH,
Abraham



On Fri, Sep 12, 2025 at 3:38 PM Aleksa Jakovljevic <
alex.jakovljevic...@gmail.com> wrote:

> 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
>>>
>>>

Reply via email to