lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set-global-staff-size undoes define fonts


From: Michael Gerdau
Subject: Re: set-global-staff-size undoes define fonts
Date: Mon, 28 Jan 2019 08:10:56 +0100

>>> On 27/01/2019 04:52, David F. wrote:
>>> I can specify the font for my score to use with #(define fonts … ), but 
>>> calling #(set-global-staff-size) undoes the font definition.

I seem to recall that’s documented somewhere but I can’t find where.

>> Why do you insist on the order, anyway? If you don't, I think the
>> solution would be quite obvious.
> 
> Because I engrave hymns in several different styles, e.g. 4:3 slides, 16:9 
> slides, hymnal-style, etc.  I have a .ly file with all the base or common 
> styles and then I override whatever is appropriate for specific styles.  In 
> this case, I want the font to be the same for all styles (so it gets declared 
> first).  But slides have a larger text size, so I want to override the font 
> size specifically for engraving slides, so it gets declared later.

That does not make sense in the general meaning of things. There’s no reason 
other than your preferred order of definitions that prevents you from setting 
size first and do the font definitions afterwards.

> As a workaround to the trouble I’m having (because there is a bug in either 
> Lilypond or my understanding)

It is my understanding there’s a bug in your understanding 😊

Kind regards,
Michael


reply via email to

[Prev in Thread] Current Thread [Next in Thread]