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