Minimal install procedure:
-
Install macOS developer tools and the homebrew package manager:
xcode-select --install; ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)";
-
Install Homebrew Python 3
brew install python
-
Use pip3 to install fontbakery
pip3 install fontbakery
If you already installed a previous version of Font Bakery, upgrade to a newer version with:
pip3 install --upgrade fontbakery
FontForge has some font checking features, which Font Bakery will also wrap around and run, if available. Install it with:
brew install giflib libspiro icu4c;
brew install fontforge --with-extra-tools;
Apple provides various font utilities, and ftxvalidator
is especially useful as it runs the same checks that are run for users when they install a font using Font Book. Please note that the use of the OS X Font Tools application ftxvalidator
requires macOS v10.13 or greater before you attempt to install the application using the instructions below.
You must use your Apple ID to sign in to http://developer.apple.com and then:
- go to https://developer.apple.com/download/more/?=font
- download
Font_Tools_for_Xcode_9.dmg
- double-click on
Font_Tools_for_Xcode_9.dmg
- double-click on
macOS Font Tools.pkg
- follow the instructions to install, clicking "continue", "agree", "install", etc
If you wish to run the installation process in Terminal, you can do it this way:
cd ~/Downloads/ ;
hdiutil attach osxfonttools.dmg ;
mkdir -p /tmp/ftx ;
cd /tmp/ftx ;
cp "/Volumes/OS X Font Tools/OS X Font Tools.pkg" . ;
xar -xf "OS X Font Tools.pkg" ;
cd fontTools.pkg/ ;
cat Payload | gunzip -dc | cpio -i ;
sudo mv ftx* /usr/local/bin/ ;
Font Validator has useful tests for a font's glyf table. We use Hintak's fork.
- download the latest release for your OS.
- unzip it
- Change the unzipped binary's permissions,
chmod 755 FontValidator
- Move the binary to your bin folder,
mv /path/to/unzipped/FontValidator /usr/local/bin/FontValidator