Hi Simon,

thank you for your advice! Just for people reading my question in the
future: Your hint lead me to solve the problem with

\layout {
      #(layout-set-staff-size 17)
      \override LyricText.font-name = "EBGaramond"
      \override LyricText.font-size = #2
      \override Score.BarNumber.font-name = "EBGaramond"
      \override Score.BarNumber.font-size = #2
      \override Staff.InstrumentName.font-name = "EBGaramond"
      \override Staff.InstrumentName.font-size = #2
    }


(Setting the font-sizes manually is necessary since for some unknown
reason, the font-size decreases.) For my purposes that is an acceptable
workaround.

Greets,

Jonathan


On 08/11/2015 07:31 PM, Simon Albrecht wrote:
> Am 11.08.2015 um 18:19 schrieb Jonathan Scholbach:
>> Hi!
>>
>> I would like to use the Garamond font for all the text in my sheet
>> (header, lyrics, markup). I downloaded the EBGaramond from
>> http://www.georgduffner.at/ebgaramond/download.html and put all the
>> .otf-files into the directory
>>
>> lilypond/usr/share/lilypond/current/fonts/otf
>>
>> Nearly everything works fine, but Lilypond seems to have problems with
>> scaling, as my ME shows. The lyrics between the staves are not printed
>> in Garamond font when the global-staff-size is changed.
> The problem is that setting staff size overrides the previous font
> settings, so you have to first change staff size, then change the fonts.
> Normally this would mean inserting #(set-global-staff-size 21) _before_
> the paper block; with #layout-set-staff-size however, I don’t know of
> any solution.
> 
> HTH, Simon
> 

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to