lilypond-user
[Top][All Lists]
Advanced

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

openLilyLib and text fonts


From: Tiago Pereira
Subject: openLilyLib and text fonts
Date: Sat, 6 Jun 2020 22:24:32 +0000 (UTC)

Hi!

I'm using openLilyLib to change the notation font of my lilypond scores. The problem is: when I change the notation font, the text font is automatically changed to a font that I don't know what it is.

Default:

\version "2.20.0"

\header {
    title = "Title"
    composer = "Composer"
}

<< \relative c' { c2 c c c c1 ^\markup{ \roman roman } ^\markup{ \sans sans } ^\markup{ \typewriter typewriter } }
\addlyrics { This is~a ly -- ric } >>

With new notation font:

\version "2.20.0"

\include "oll-core/package.ily"
\loadPackage notation-fonts
\useNotationFont "profondo"

\header {
    title = "Title"
    composer = "Composer"
}

<< \relative c' { c2 c c c c1 ^\markup{ \roman roman } ^\markup{ \sans sans } ^\markup{ \typewriter typewriter } }
\addlyrics { This is~a ly -- ric } >>

Trying to solve this, I forced lilypond to keep the default text fonts, but I notice that the lyric tie is not positioned properly.

\version "2.20.0"

\include "oll-core/package.ily"
\loadPackage notation-fonts
\useNotationFont \with {
  roman = "TeXGyre Schola"
  sans = "TeXGyre Heros"
  typewriter = "TeXGyre Cursor"
} "profondo"

\header {
    title = "Title"
    composer = "Composer"
}

<< \relative c' { c2 c c c c1 ^\markup{ \roman roman } ^\markup{ \sans sans } ^\markup{ \typewriter typewriter } }
\addlyrics { This is~a ly -- ric } >>

So, why the text font is automatically changed? And why the lyric tie is not well positioned? Is there a solution?

Thanks.

Attachment: default.png
Description: PNG image

Attachment: new-notation-font.png
Description: PNG image

Attachment: new-notation-font-with-default-text-font.png
Description: PNG image


reply via email to

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