[ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
[ < Alternative output formats ] | [ Up : Controlling output ] | [ Creating MIDI output > ] |
3.4.4 Replacing the notation font
Gonville is an alternative set of glyphs to Feta – part of the Emmentaler font – and used in LilyPond. They can be downloaded from:
http://www.chiark.greenend.org.uk/~sgtatham/gonville/
Here are a few sample bars of music set in Gonville:
Here are a few sample bars of music set in LilyPond’s Feta glyphs:
Installation Instructions
Download and extract the font files. Copy the ‘gonville-11.otf’, ‘gonville-13.otf’, ‘gonville-14.otf’, ‘gonville-16.otf’, ‘gonville-18.otf’, ‘gonville-20.otf’, ‘gonville-23.otf’, ‘gonville-26.otf’, and ‘gonville-brace.otf’ files to ‘…/share/lilypond/current/fonts/otf’ or ‘…/share/lilypond/X.Y.Z/fonts/otf’. If you have ‘gonville-*.svg’ and ‘gonville-*.woff’ files, copy them to ‘…/share/lilypond/current/fonts/svg’ or ‘…/share/lilypond/X.Y.Z/fonts/svg’. For more information, see Other sources of information.
Note: ‘gonville-*.otf’ files are
for ps
and eps
backend (for PDF and PostScript outputs).
‘gonville-*.svg’ files are
for svg
backend without svg-woff
option.
‘gonville-*.woff’ files are
for svg
backend with svg-woff
option.
For more information, see
Advanced command line options for LilyPond.
The following syntax changes the notation font (general and brace) to the Gonville font.
\paper { #(define fonts (set-global-fonts #:music "gonville" #:brace "gonville" )) }
Note: Each call to set-global-fonts
completely resets both the main
notation and text fonts. If any category is left unspecified, then the default
font will be used for that category.
Each call to set-global-fonts
changes the fonts for each \book
that follows it, whether created explicitly or implicitly. This means that each
\book
can have its own set of main fonts by calling
set-global-fonts
before it.
For more information, see Entire document fonts.
See also
Learning Manual: Other sources of information.
Notation Reference: The Emmentaler font, Entire document fonts.
Known issues and warnings
Gonville cannot be used to typeset ‘Ancient Music’ notation and it is likely newer glyphs in later releases of LilyPond may not exist in the Gonville font family. Please refer to the author’s website for more information on these and other specifics, including licensing of Gonville.
Other notation fonts
If you have other notation fonts like ‘fontname-*.otf’, ‘fontname-*.svg’, and ‘fontname-*.woff’, you can use them in the same way as Gonville.
That is, copy the ‘fontname-*.otf’ files to ‘…/share/lilypond/current/fonts/otf’ or ‘…/share/lilypond/X.Y.Z/fonts/otf’. If you have ‘fontname-*.svg’ and ‘fontname-*.woff’ files, copy them to ‘…/share/lilypond/current/fonts/svg’ or ‘…/share/lilypond/X.Y.Z/fonts/svg’.
Note: At the moment, LilyPond expects the font file names to have the following suffixes, all of which must be present in the above installation folder(s) to work properly: ‘-11’, ‘-13’, ‘-14’, ‘-16’, ‘-18’, ‘-20’, ‘-23’, ‘-26’, ‘-brace’. For example, ‘emmentaler-11.otf’, ‘emmentaler-20.svg’, and ‘emmentaler-brace.woff’ etc.
The following syntax changes the notation font (general and brace) to the fontname font.
\paper { #(define fonts (set-global-fonts #:music "fontname" ; font filename without suffix and extension #:brace "fontname" ; font filename without suffix and extension )) }
Note: For music
and brace
categories,
specify the font filename without the suffix and extension.
[ << General input and output ] | [Top][Contents][Index][ ? ] | [ Spacing issues >> ] | ||
[ < Alternative output formats ] | [ Up : Controlling output ] | [ Creating MIDI output > ] |
Más nyelvek: català, deutsch, español, français, italiano, 日本語.
About automatic language selection.