Hello,

I want to use alternative fonts for my documents, but I have problems including 
them. I’m using 2.18.2 with the patch for alternative music fonts (which all 
work fine).

I tried the following snippets within the \paper-variable:

#(define fonts
    (set-global-fonts
        #:music "scorlatti"
        #:roman "libertine“
        #:sans "biolinum“
        #:factor (/ staff-height pt 20)
    )
)

and:

#(define fonts
    (make-pango-font-tree
        "libertine“
        "biolinum“
        "libertine mono“
        (/ staff-height pt 20)
    )
)

I tried some different fonts, including Charter (worked) and Alegerya Sans 
(didn’t work). So I believe it’s the name I have to use, but I can’t figure out 
how to get that. The fonts are all installed on my system (MacBook, El Capitan) 
as (lots of) otf files.


Thank you for your help,
Daniel
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to