LilyPond Contributor's Guide: 12.4 Adding a new glyph

## 12.4 Adding a new glyph

Adding a new glyph is done by modifying the .mf file to which the glyph will be added.

Necessary functions to draw the glyph can be added anywhere in the file, but it is standard to put them immediately before the glyph definition.

The glyph definition begins with:

>     fet_beginchar ("glyph description", "glyphname");

with `glyph description` replaced with a short description of the glyph, and `glyphname` replaced with the glyphname, which is chosen to comply with the naming rules in ‘`mf/README`’.

The metafont code used to draw the glyph follows the `fet_beginchar` entry. The glyph is finished with:

>     fet_endchar;

#### LilyPond — Contributor’s Guide v2.22.2 (stable-branch).