Am 11.08.2016 um 11:04 schrieb Erik Ronström:
Of course, I can define my own macro, but isn’t there a built-in mechanism to 
resolve different fonts of the same typeface/font family?

Do you really want to change only the Lyrics font? Or is it ok to change the fonts in the whole document? Here is how to do that in LilyPond version 2.19 and 2.18:

%%%%%%%%%%%%%%%%%%%%%%%%%%% begin LilyPond code

%{
\version "2.19.46"

\paper {
  #(define fonts
    (set-global-fonts
    #:roman "LMRoman10"
    #:sans "LMSans10"
    #:typewriter "LMMono10"
    #:factor (/ staff-height pt 20)
  ))
}
%}

%%{
\version "2.18.2"

\paper {
  #(define fonts
     (make-pango-font-tree
      "LMRoman10"
      "LMSans10"
      "LMMono10"
      (/ staff-height pt 20)))
}
%}


\relative {
  c' d e f g2 g
}

\addlyrics {
\markup \typewriter Al -- le mei -- ne \markup \italic Ent -- \markup \bold chen
}

%%%%%%%%%%%%%%%%%%%%%%%%%%% end LilyPond code

_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to