[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue with pango font tree and global staff size
From: |
Tao Cumplido |
Subject: |
Issue with pango font tree and global staff size |
Date: |
Sat, 02 Jun 2012 12:45:33 +0200 |
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 { }
}
--
NEU: FreePhone 3-fach-Flat mit kostenlosem Smartphone!
Jetzt informieren: http://mobile.1und1.de/?ac=OM.PW.PW003K20328T7073a
1.png
Description: PNG image
2.png
Description: PNG image