
(family) name you must use a trailing comma after the nameĮven if you do not select a style option. Note: If any of the above style options is part of the font font-size = # -3 c'' 4 ^"smaller"Ī similar syntax may be used in markup mode however, in mostĬases it is preferable to use the simpler syntax explained in font-family = # 'typewriter \textMark "Ouverture" \override Voice. Theįollowing example demonstrates that, including code to also change ‘ /usr/local/share/lilypond/2.23.82/fonts’, and which isĮach font family may include different shapes and series. Monospace’ are font family aliases defined in the additionalįontConfig configuration file ‘ nf’, which ‘LilyPond Serif’, ‘LilyPond Sans Serif’, and ‘LilyPond To circumvent this globally, use the following code to make ToĬircumvent this locally, insert a zero-width non-joinerĬharacter (ZWNJ, U+200C) between the ‘N’ and ‘r’ characters. The Numero Sign (U+2116) if the ‘latn’ script is selected. Like ‘fl’ or ‘ffi’, they substitute the string ‘Nr.’ with Peculiarity: By default, in addition to the standard ligatures (‘C059’, ‘Nimbus Sans’, and ‘Nimbus Mono PS’) have a Note that the URW font families distributed with LilyPond Listed family, the appropriate font of the next listed family gets If a character does not exist in the appropriate font of the first ‘generic-family’ in SVG and CSS specifications. ‘serif’, ‘sans-serif’, and ‘monospace’ are Depending on theīackend, these families get mapped to different font family ‘roman’ (serif), ‘sans’, and ‘typewriter’. Three generic aliases for text font families 1 are available: See Single entry fonts and Entire document fonts how to Shows the actual font names to be used with LilyPond these may To verify that the desired fonts are found by FontConfig, use theĬommand #(ly:font-config-display-fonts), which prints theĬomplete list of available fonts to the console log. Makes it possible to compile a score on any system by simplyĭistributing the relevant font files together with the LilyPond #(ly:font-config-add-directory " path/to/directory/")īoth commands accept either absolute or relative paths, which

#(ly:font-config-add-font " path/to/font-file") Thus available in LilyPond scores) by the following commands: More fonts may be added to the ones detected by FontConfig (and In addition to any font already installed on the operating system, This section shows how to access fonts in LilyPond, and how to Fonts in LilyPond are handled by several libraries two of themĪre of relevance to the user: FontConfig is used to detect available fonts, and selected
