musicfont string

Default Command line Scope Available in
nonenonegeneration abcm2ps (>= 8.13.3)

Define an alternate music font.

By default, abcm2ps uses PostScript definitions of the music glyphs, and abc2svg uses an internal music font.

This command defines an other font for the music.

If the font is installed in the local system, string is simply the name of the font (not the name of the file!).

If the font is not installed, with SVG output, string may be defined as

in which case a @font-face definition is included in the SVG images.

The font encoding follows the Unicode mapping defined in SMuFL.
Fonts complying with this specification, as Bravura, are directly usable.
In particular, abcm2ps may use the abc2svg internal font which is contained in its source tarball in TrueType format (abc2svg.ttf).

Using music fonts with different sizes/encodings is possible by re-defining the glyphs (PostScript definitions or SVG <defs>).

abc2svg documentation source author - page hosted by Free