bug-lilypond
[Top][All Lists]
Advanced

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

Issue 1129 in lilypond: Font styles return to default when font size cha


From: lilypond
Subject: Issue 1129 in lilypond: Font styles return to default when font size changed
Date: Sun, 20 Jun 2010 12:02:03 +0000

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




reply via email to

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