Scale fonts types (serif/sans/typewriter) globally

Michael Scheer <[email protected]>
Newsgroups gmane.comp.gnu.lilypond.general
Message-ID <[email protected]>
Hi Lilypond users,

in below example, I have replaced the text fonts.
Now other fonts typically have a different size than the default Emmenthaler
font. In below example, to match the default fonts size, I'd like to scale the
serif and sans font by a factor of, say, x1.23. Only those two types. Not any
global scaling like "set-global-staff-size" which would scale everything else as
well...

Any idea how this could be achieved?

\paper {
  property-defaults.fonts.serif = "Libertinus Serif"
  property-defaults.fonts.sans  = "Libertinus Sans"
  % property-defaults.fonts.typewriter = "Hack"
}

Thx
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.