----- Original Message -----
From: "Tao Cumplido" <tao_lilypondu...@gmx.net>
To: <lilypond-user@gnu.org>
Sent: Saturday, June 02, 2012 11:45 AM
Subject: Issue with pango font tree and global staff size
Dear list,
I am having a problem with using a custom pango font tree and
set-global-staff-size at the same time.
If I set the staff size before the \paper block only the staff lines
change, the feta glyphs and text don't.
But if I set the staff-size after the \paper block it resets the pango
font tree to the default lily fonts.
I made two snippets for demonstration. Both tested with 2.14.2 and 2.15.39
with the same results.
%%%%%%%
% 1.ly
%%%%%%%
music = { a4^"Markup" b c' d' }
\paper
{
#(define fonts
(make-pango-font-tree
"Linux Libertine"
"Linux Biolinum"
"Courier New"
(/ 20 20)))
}
#(set-global-staff-size 15)
\score
{
<< \new Staff \music >>
\layout { }
}
%%%%%%%
% 2.ly
%%%%%%%
#(set-global-staff-size 15)
music = { a4^"Markup" b c' d' }
\paper
{
#(define fonts
(make-pango-font-tree
"Linux Libertine"
"Linux Biolinum"
"Courier New"
(/ 20 20)))
}
\score
{
<< \new Staff \music >>
\layout { }
}
Unfortunately, this is a known bug with Lilypond. See
http://code.google.com/p/lilypond/issues/detail?id=1129
--
Phil Holmes
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user