Next: Entire document fonts, Previous: Fonts explained, Up: Fonts
Any font that is installed on the operating system and recognized by FontConfig may be used in a score, using the following syntax:
\override Staff.TimeSignature #'font-name = #"Charter"
\override Staff.TimeSignature #'font-size = #2
\time 3/4
a1_\markup {
\override #'(font-name . "Vera Bold")
{ Vera Bold }
}
The following command displays a list of all available fonts on the operating system:
lilypond -dshow-available-fonts x
The last argument of the command can be anything, but has to be present.
Notation Reference: Fonts explained, Entire document fonts.
Snippets: Text.
Installed files: lily/font-config-scheme.cc.