lilypond-user
[Top][All Lists]
Advanced

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

Re: Fonts for text


From: Thomas Morley
Subject: Re: Fonts for text
Date: Sun, 26 Apr 2020 09:13:29 +0200

Am So., 26. Apr. 2020 um 04:58 Uhr schrieb Jinsong Zhao
<address@hidden>:

> I tried your fonts and the demo example, it does not work. I also try
> another font, Times New Roman, the most common font on Windows platform.
> It does not work, too.
>
> \version "2.20.0"
>
> \header {
>      title = \markup {
>                \override #'(font-name . "Times New Roman")
>                "My Title"
>              }
> }
>
> \score {
>    c''
> }
>
> "My Title" in the output file is in MicrosoftYaHei.
>
> Do not know why.

In "Times New Roman" the "Roman" is taken as font-family of font
"Times New", which does not exists, thus a fall-back font is used.
To avoid it use:
\override #'(font-name . "Times New Roman,")
Note the ","

Cheers,
  Harm



reply via email to

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