lilypond-user
[Top][All Lists]
Advanced

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

Re: Fonts for text


From: Jinsong Zhao
Subject: Re: Fonts for text
Date: Sun, 26 Apr 2020 10:50:08 +0800
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0

On 2020/4/26 5:35, Ignacio Lois wrote:
AAAAAAAH!!

\version "2.19.83"

\header {
     title = \markup {
       \override #'(font-name . "ITC Souvenir")
               "My Title"
             }
}

\score {
   c''
}

*Now* that's the example I should have sent. Can anyone check the fonts? There's the links to install them in my original email. The fonts work fine elsewhere.

On Sat, Apr 25, 2020 at 6:34 PM Ignacio Lois <address@hidden <mailto:address@hidden>> wrote:

    Sorry, this is the correct example (dot missing after font-name):

    \version "2.19.83"

    \header {
         title = \markup {
                   \override #'(font-name "ITC Souvenir")
                   "My Title"
                 }
    }

    \score {
       c''
    }

    If I try other fonts they show correctly, but these two don't seem
    to work.

    On Sat, Apr 25, 2020 at 6:24 PM Ignacio Lois <address@hidden
    <mailto:address@hidden>> wrote:

        Hi,
        Thanks Ben and Noeck for your replies.
        I'm running Frescobaldi 3.0.0 and I can't find Document Fonts
        under Tools. I'll check for a newer version
        This is a minimal example that fails as described:

        \version "2.19.83"

        \header {
             title = \markup {
                       \override #'(font-name "ITC Souvenir")
                       "My Title"
                     }
        }

        \score {
           c''
        }

        Thanks in advance.


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.

Best,
Jinsong

        On Sat, Apr 25, 2020 at 6:11 PM Ben <address@hidden
        <mailto:address@hidden>> wrote:

            On 4/25/2020 2:47 PM, Ignacio Lois wrote:
            Hello list,

            I'm trying to use any font like these for my titles. I
            tried ITC Souvenir
            <https://freefontsfamily.com/itc-souvenir-font-family-free/>,
            which would look like this:
            image.png
            And Sunset-Serial
            <https://www.wfonts.com/font/sunset-serial>, which would
            look like this:
            image.png
            But no matter how I set it in LilyPond, I get this:
            image.png
            The weirdest thing is that Frescobaldi acknowledges the
            existence of these fonts and even knows what they look like:
            image.png

            So here is my question: do fonts need to be of a special
            type to work? Am I doing something wrong or missing
            something? I don't know what to try anymore. Any help
            would be appreciated.

            Thanks


            Hi Ignacio,

            It appears that you've installed the fonts correctly if
            Frescobaldi can pick them up like that. Can you share some
            of your code, maybe there is a conflict somewhere?






reply via email to

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