lilypond-user
[Top][All Lists]
Advanced

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

Re: Setting default text font


From: Ben
Subject: Re: Setting default text font
Date: Wed, 6 Dec 2017 15:34:29 -0500
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0

On 12/6/2017 3:25 PM, Chris Jones wrote:
I am unsuccessfully trying to globally change the default text font that
is lilypond uses in its pdf output (title of the song, lyrics, etc.

|
|  \paper  {
|    #(define fonts
|      (make-pango-font-tree "TeXGyreSchola"
|                            "TeXGyreHeros"
|                            "Terminus"
|  }

Whichever font(s) I specify I am still getting the same font. At
a glance, it looks like Microsoft's "Times New Roman", which is not
suited to my purpose.

This being on a linux system (debian stable) I have checked via
"fc-match TeXGyreSchola" commands (etc.) that the font(s) I specified
is(are) correctly recognized by fontconfig and that they are not
substituted.


Hi CJ,

The code below should work on Linux, it does for me on Mint 18.

\version "2.19.80"

\paper  {
  #(define fonts
    (make-pango-font-tree "TeXGyreSchola"
                          "TeXGyreHeros"
                          "Terminus"
                          (/ staff-height pt 20)))
}


Can you show a screenshot of how it looks in your system?



reply via email to

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