Some tools for variable fonts
![]()
A collection of simple scripts (for macOS only) that install a font-development toolchain — fontTools, fontmake, harfbuzz, ttfautohint, and dozens more — in one double-click.
⚠️ Archived (2017). This is a historical snapshot from April 2017. It still bootstraps a working font-hacking setup, but the world moved on: Homebrew now installs most of these tools directly (
brew install fonttools harfbuzz ttfautohint), the Python libraries live on PyPI (pip install fonttools fontmake), and the Python 2 halves below are obsolete. Keep it for reference, or as a starting point you’ll want to prune. It is no longer actively maintained.
— Adam Twardoch, 5 April 2017
fontsurgery-tools-master.zipmacOS folder inside the unpacked fontsurgery-tools-master folder.install-macos.command.The script may run for some 10-20 minutes as it downloads and installs various libraries, and you should be ready to hack your fonts.
At the end, it’ll open the websites where you can download and manually install further tools:
macOS folder, there is a upgrade-macos.command script which will install fresh versions of the various tools. You can run it from time to time.macOS-devel folder, there are install-macos-dev.command and upgrade-macos-dev.command scripts which will install cutting-edge versions of the same libraries as the regular script does (but those versions may fail installing or not work properly!) Note that the Python libraries will be installed in “development” mode, i.e. inside the macOS-devel/modules/src folder. So if you use this method, please place your unpacked fontsurgery-tools-master folder in some reasonable location, and possibly rename it (I recommend /Users/YOURUSERNAME/Developer/fontsurgery-tools)./Users/YOURUSERNAME/Library/Python. This makes it easy to see what’s going on.