Skip to content

Commit

Permalink
readme: square notation example: fix lyrics font
Browse files Browse the repository at this point in the history
  • Loading branch information
igneus committed Oct 21, 2024
1 parent 9dc9831 commit 8c79be7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions doc/vaticana-example.ly
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,14 @@
tagline = #f
}

my-roman-font = "Linux Libertine O"

\paper {
% TODO: font settings have no effect in VaticanaLyrics and I've no idea why
% (Global font settings have no effect in VaticanaLyrics,
% this is just a failed attempt and a reminder of a probable LilyPond bug.)
#(define fonts
(make-pango-font-tree
"Linux Libertine O"
my-roman-font
"VL Gothic"
"Courier"
1))
Expand All @@ -18,6 +21,11 @@
right-margin = 1\mm
}

\layout {
% This actually sets lyrics font for VaticanaLyrics
\override VaticanaLyrics.LyricText.font-name = \my-roman-font
}

\include "gregorian.ly"
\include "../lilygabc.ily"

Expand Down
Binary file modified doc/vaticana-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 8c79be7

Please sign in to comment.