Export and install fonts from Glyphs.app
Installing fonts on MacOS sometimes is tricky, as fonts stay cached in the old version, even when installing a new one.
This script solves caching issues.
- Exports all active instances of a font
- Deletes (uninstalls) older versions of each instance
- Renames the exported fonts to
OriginalName-20180212-2234.otf(including the current time to avoid caching issues)
- Installs the new version into
Before running this script the first time, use Glyph.app’s export function at least once. The configuration is kept.
git clone firstname.lastname@example.org:hagenburger/glyphs-export-and-install.git cd glyphs-export-and-install ln -s "`pwd`/Export-and-install.py" ~/Library/Application\ Support/Glyphs/Scripts
In case updates are available:
cd glyphs-export-and-install git pull