|
From: | Valentin Petzel |
Subject: | Re: Custom Music font doesn't scale with staff |
Date: | Mon, 21 Nov 2022 21:53:29 +0100 |
Hello,
Look here:
https://lilypond.org/doc/v2.22/Documentation/notation/fonts
You will find a #:factor parameter:
#:factor (/ staff-height pt 20)
This factor is used for scaling the actual glyphs, and if you omit it your font will not be scaled and be issued at a standard staff size of 20 pt.
Cheers,
Valentin
Am Montag, 21. November 2022, 21:11:35 CET schrieb Yentl Tijssens:
> Hello,
> I use the custom font Beethoven. Even though I have all the correct sizes
> installed, the font doesn’t use the right one when changing the default
> size: Doesn’t anyone have a solution to this?
>
> \version "2.22.2"
> #(set-global-staff-size 12)
> \paper {
> #(define fonts
> (set-global-fonts
> #:music "beethoven"
> #:brace "beethoven"
> ))
> }
> \score {
> \relative c' { c4 d e2 }
> }
signature.asc
Description: This is a digitally signed message part.
[Prev in Thread] | Current Thread | [Next in Thread] |