lilypond-user
[Top][All Lists]
Advanced

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

layout-set-staff-size overrides font configuration


From: Simon Bailey
Subject: layout-set-staff-size overrides font configuration
Date: Thu, 28 Jul 2022 16:03:25 +0100

Hi,

it seems layout-set-staff-size overwrites any custom
font-configuration that has been made.

This input gives the attached output, where the titles have the
correct font, but the TextScripts in the score that uses
layout-set-staff-size have the default fonts.
What's the correct way to work around this?

\paper {
  #(define fonts
   (make-pango-font-tree "Kepler Std"
     "Cronos Pro"
     "monofur"
     (/ staff-height pt 20)))
  print-all-headers = ##t
  bookTitleMarkup = ""
}
\header {
  title = \markup \sans "Cronos Title"
  subtitle = \markup \italic "Kepler subtitle"
  dedication = \markup \typewriter "monofur dedication"
}
\score {
  \relative { c''1^\markup\sans "Cronos" c^"Kepler"
c^\markup\typewriter"monofur" }
}

\score {
  \relative { c''1^\markup\sans "Cronos" c^"Kepler"
c^\markup\typewriter"monofur" }
  \layout {
    #(layout-set-staff-size 20)
  }
}

Thanks, kind regards,
sb

Attachment: 2022-07-28 16_03_07-Untitled [modified] – Frescobaldi.png
Description: PNG image


reply via email to

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