{"id":23760,"library":"fontbakery","title":"Font Bakery","description":"Font Bakery is a font quality assurance tool for everyone. It runs a comprehensive suite of automated checks on font files to ensure they meet quality standards, best practices, and specification compliance. Version 1.1.0, released periodically with improvements and new checks.","status":"active","version":"1.1.0","language":"python","source_language":"en","source_url":"https://github.com/googlefonts/fontbakery","tags":["font","quality assurance","typography","google fonts","testing"],"install":[{"cmd":"pip install fontbakery","lang":"bash","label":"Install from PyPI"}],"dependencies":[],"imports":[{"note":"Direct import from fontbakery may not work; use fontbakery.api.","wrong":"from fontbakery import check","symbol":"check","correct":"from fontbakery.api import check"},{"note":"Correct import path for the check class.","wrong":"","symbol":"FontBakeryCheck","correct":"from fontbakery.checkrunner import FontBakeryCheck"}],"quickstart":{"code":"from fontbakery.api import check\nfrom fontbakery.checkrunner import FontBakeryCheck\n\n# Run all checks on a font file\nresult = check('path/to/font.ttf')\nprint(result.summary())","lang":"python","description":"Basic usage: run all checks on a font file and print summary."},"warnings":[{"fix":"Upgrade Python to 3.9 or later.","message":"Font Bakery 1.0.0 dropped support for Python 3.8 and earlier. Ensure your environment uses Python 3.9+.","severity":"breaking","affected_versions":">=1.0.0"},{"fix":"Use 'fontbakery check --help' to see current options.","message":"The '--checks' CLI option has been deprecated in favor of '--exclude' in some versions. Check the help for the correct flags.","severity":"deprecated","affected_versions":">=1.0.0"},{"fix":"Use 'fontbakery check --recursive ./fonts/'.","message":"Running checks on a directory of fonts is not recursive by default; you must specify '--recursive' or '--glob'.","severity":"gotcha","affected_versions":"all"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Run 'pip install fontbakery' in the correct Python environment (Python 3.9+).","cause":"Font Bakery not installed or installed in wrong environment.","error":"ModuleNotFoundError: No module named 'fontbakery'"},{"fix":"Check the full traceback. Ensure harfbuzz and other system dependencies are installed. Try running 'fontbakery check --verbose'.","cause":"A check failed during execution, often due to missing dependencies or broken font.","error":"fontbakery.exceptions.CheckExecutionError"},{"fix":"Provide a path: 'fontbakery check myfont.ttf'","cause":"The command was invoked without specifying a font file or directory.","error":"ValueError: A font file is required"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}