Status: Accepted
Owner: ----
Labels: Type-Documentation Priority-High
New issue 1129 by PhilEHolmes: Font styles return to default when font size
changed
http://code.google.com/p/lilypond/issues/detail?id=1129
When default fonts are changed using make-pango-font-tree and the font size
for the score is then changed using the layout-set-staff-size command, the
fonts return to their default values. This behaviour is undesireable, but
at the least should be documented.
Test example using a really horrible font (which may not exist on non
Windows machies):
\paper {
% change fonts to non default
#(define fonts
(make-pango-font-tree "Comic Sans MS"
"Nimbus Sans"
"Luxi Mono"
(/ 20 20)))
}
\score {
<<
\new Voice = "cantus" { \clef "G_8" c8 d e f }
\new Lyrics
\lyricsto "cantus" { \lyricmode { Al -- le -- lu -- ia. } }
>>
\layout { }
}
%%%%%%%%%%%%% Bigger Score - inadvertedly get default font
\score {
<<
\new Voice = "cantus" { \clef "G_8" c8 d e f }
\new Lyrics
\lyricsto "cantus" { \lyricmode { Al -- le -- lu -- ia. } }
>>
\layout {
#(layout-set-staff-size 30)
}
}
Attachments:
FontChange.png 7.3 KB
_______________________________________________
bug-lilypond mailing list
bug-lilypond@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-lilypond