This package provides support files for use with the Glyphs font editing software that make it easier to develop fonts to the SMuFL (Standard Music Font Layout) specification.
It also includes a command line interface to help speed up installation of these support files.
To use the command line interface you will need to install this package using the Node Package Manager (NPM):
npm install -g smufl-glyphs-info
To install the support files using the command line interface run the following in your terminal:
smufl-glyphs
Follow the on-screen prompts to complete the installation. If you have existing GlyphData.xml
or Groups.plist
files, you will be asked if you want to overwrite them.
More information on how to use the smufl-glyphs
command can be found by running:
smufl-glyphs --help
The Glyphs font editing software allows for the expansion of its standard glyph database and custom categorisation in its left sidebar by providing custom GlyphData.xml
and Groups.plist
files.
This package provides:
GlyphData.xml
, which describes all of the glyphs defined in the SMuFL specification’s glyphnames.json
so that Glyphs can understand these nonstandard codepoints.
Groups.plist
, which defines a custom SMuFL
category in Glyphs’ left sidebar with sub-categories for each unicode range specified in the SMuFL specification’s ranges.json
.
If you would like to access these files directly, you will find them in the dist
directory.
An example of the Glyphs left sidebar with the files installed
Running the smufl-glyphs
command in your terminal will copy these support files to Glyphs’ Application Support
directory for you, but this can also be done manually if you prefer to avoid Node, the Terminal, and other scary things.
You can find Glyphs’ Application Support
directory at: /Users/YOUR-USER-NAME/Library/Application Support/Glyphs
.
One quick way to find this is to open Glyphs and select Script > Open Scripts Folder.
If it doesn’t exist, you should create an Info
directory alongside the Scripts
directory to put GlyphData.xml
and Groups.plist
in.
You should end up with a directory structure like this:
~/Library
└── Application Support
└── Glyphs
├── Info
│ ├── GlyphData.xml
│ └── Groups.plist
├── Scripts
└── ...
This package was written by someone with fairly little experience working with Glyphs, and only cursory familiarity with the SMuFL specification. If you think something ought to be done differently, that’s fantastic! Both new issues and pull requests are very welcome.
Please check out the contribution guide for more details, and read the code of conduct to learn about being gentle and kind to one another. Gentleness and kindness are good things.
This software is free to use, modify, and redistribute under a GNU General Public License.