# MuseScore Fonts

This directory contains the fonts used internally by MuseScore and the sources used to generate them.

**FontForge** is used to work on the fonts and the sources are all in the **.sfd** format used by FontForge.

## Sub-directories

* **bravura** The [_Bravura_](http://www.smufl.org/fonts/) fonts and the documentation for them and for SMuFL. These fonts are **not** maintained by the MuseScore community, please **DO NOT EDIT** these fonts. 
* **gootville** The [_Gonville_ font](http://www.chiark.greenend.org.uk/~sgtatham/gonville/) for score musical symbols. This font is modified and maintained by the MuseScore project.
* **mscore** The main font used in MuseScore scores for musical symbols (formerly known as [_Emmentaler_](http://lilypond.org/doc/v2.18/Documentation/notation/the-feta-font)), as well its counterpart used for texts.

Other files in the main **fonts** directories are for collateral fonts used by MuseScore for specific tasks. If an *.sfd* file is present, the font is maintained/customized by the MuseScore community.

## Notes on using FontForge

1. **Version**: FontForge version of 2014-05-27 is known to have generated .ttf fonts not working under Windows. Until the actual reason of the failure is understood, **please do not use it**. Version of 2012-07-31 is known to work.
2. **Font names**: In some Fontforge versions and/or under some platforms, Fontforge seems to skip the "FullName" line while saving the font and this makes a .ttf generated from the source unusable under Windows. To ensure that this line is always output, select "Element | Font info...", tab "PS Names" and make sure the string "Name for humans:" is different from the string "Fontname:".
3. **Kern**: To ensure fonts are properly kerned under all supported platforms, **uncheck** the "Old style 'kern'" checkbox in the "Option" subdialog of the "Generate Font" dialog box.
4. **OpenType**: For MuseJazz at least but perhaps other fonts, it had at one time been determined that MacOS requires you to check the "OpenType" box in order for kerning to work, although Linux and Windows required it to be **unchecked**.  It seems this has changed since then (probably on account of a change within Qt) and now it seems proper to always check "OpenType".  But please try to verify that fonts you generate from *.sfd* sources kern properly on all platforms, and be aware that playing with the "Apple" / "OpenType" / "Old style kern" options may be necessary, regardless of what we believe **should** work in theory.
