Dear members, again I apologize if this should have been discussed previously.
When I try to reduce the global staff size, music elements are not scaled accordingly. Therefore I solved it by adding #(layout-set-staff-size 20) in the score block. Now the scaling works properly, but custom fonts appear only in the header, in the score there are only default fonts. Below there's the file. \version "2.12.2" #(set-global-staff-size 20) \book { \header { title = "Messe des Morts" subtitle = "Introitus" composer = \markup \center-column { "Jean Gilles" \small "(1668 - 1705)" } } \paper { #(set-paper-size "a4" ) myStaffSize = #20 #(define fonts (make-pango-font-tree "Adobe Jenson Pro" "Numbus Sans" "Luxi Mono" (/ myStaffSize 20))) } \score{ << \new Score \new StaffGroup << \new Staff { \set Staff.instrumentName =#"Violini e flauti" \relative c' { f4 a8. a16 g4 g f f f (e) \bar"||" \time 2/2 f f a c } } \new Staff{ \set Staff.instrumentName =#"Viola I" \relative c' { c c8. d16 e4 c d d c c \bar"||" \time 2/2 c2 r2 } } \new Staff { \set Staff.instrumentName =#"Viola II" \relative c' { \clef alto f,4 f g c f, f c' bes \bar"||" \time 2/2 a2 r2 } } >> \new StaffGroup << << \new Voice = "tenorea" { \set Staff.instrumentName =#"Tenore I" \relative c' { a'4 \grace { g8( } f4) c'4. e,8 f4. g8 a4( \once \override TextScript #'avoid-slur = #'outside g8.)^\markup { \halign #3 { \musicglyph #"scripts.stopped" } } \noBeam f16 \bar"||" \time 2/2 f2 r2 } } \addlyrics { \lyricmode { e- is, do- na e- is Do- mi- ne. } } >> >> \new Staff { \set Staff.instrumentName =#"Basso Continuo" \relative c' { \clef bass f,4 f8. f16 e4 e8. e16 d4 bes c c, \bar"||" \time 2/2 f2 r2 } } >> \header { piece = "Symphonie - Lentement"} \layout { \context { \RemoveEmptyStaffContext } (layout-set-staff-size 20) } } } http://old.nabble.com/file/p29259937/score.pdf score.pdf -- View this message in context: http://old.nabble.com/Custom-fonts-don%27t-show-in-score-when-staff-size-is-modified-in-the-score-block-tp29259937p29259937.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user