Fontspector is a command-line tool for checking the quality of font projects. It is a Rust port of fontbakery.
Please see the installation guide for downloading and installing Fontspector.
Fontspector is made up of multiple crates:
fontbakery-bridge
: Allows Python fontbakery checks to run inside fontspectorfontspector-checkapi
: Defines the API and utility functions for check implementationsfontspector-checkhelper
: Procedural macros to facilitate check implementationsfontspector-cli
: The main fontspector executablefontspector-py
: A Python module exposing fontspector (for which see below)fontspector-web
: A WASM implementation of fontspector (for which see below)profile-testplugin
: An example of a runtime-loadable test profileprofile-googlefonts
,profile-opentype
,profile-universal
: Built in profiles and their check implementationsprofile-microsoft
,profile-adobe
, ...: Additional profiles which are loaded at runtime (see below)
Fontspector also has a WASM-based web version at https://fonttools.github.io/fontspector/
It is built and deployed from Github Actions, but should you need to rebuild this manually for development, run:
cd fontspector-web
wasm-pack build
cd www; npm install; npm run build
The results appear in ../docs/
.
If you wish to contribute to the development of fontspector, you are very welcome! Please read the contributors guide for more details.
Members of the fontspector community are expected to agree with the contributor code of conduct. If you come across any behaviour which does not meet our standards, please see the reporting procedures in the code of conduct.