Skip to main content

A font quality assurance tool for everyone

Project description

OpenBakery

OpenBakery, a font quality assurance tool for everyone


Documentation: https://miguelsousa.github.io/openbakery

Source Code: https://github.com/miguelsousa/openbakery

Contributing Guide: https://github.com/miguelsousa/openbakery/blob/main/CONTRIBUTING.md


OpenBakery is a command-line tool for validating font binaries and, optionally, their source files and metadata.

Requirements

  • Python version 3.8 (or greater)
    To determine if your system has Python installed and which version, run this command: python --version
    Please refer to the instructions provided at python.org for downloading and installing Python on your platform.

  • pip version 22.0 (or greater)
    To determine if your Python environment has pip installed and which version, run this command: python -m pip --version
    Please refer to the instructions provided at pip.pypa.io for downloading and installing pip on your Python environment.

⚠️ IMPORTANT: If you have Python 2.x installed in your system, you may have to use python3 (instead of python) in the commands below.

Installation

Command to install a stable version of OpenBakery:

python -m pip install --upgrade openbakery

Command to install a beta version of OpenBakery:

python -m pip install --upgrade --pre openbakery

OpenBakery's functionality is organized into profiles. Each profile invokes specific font checks. To get a list of all the profiles run this command:

openbakery --list-subcommands
check-adobefonts
check-fontbureau
check-fontval
check-fontwerk
check-googlefonts
check-iso15008
check-notofonts
check-opentype
check-profile
check-proposals
check-ufo-sources
check-universal

The installation commands above enable you to run the universal and the opentype profiles on a font, like so:

openbakery check-opentype MyFont-Regular.ttf

To test your fonts with other profiles, you need to install openbakery with a corresponding extra. The command below installs openbakery with all the necessary dependencies for running the checks in the googlefonts profile:

python -m pip install --upgrade 'openbakery[googlefonts]'

Usage

If you made it this far, congratulation! You should now be ready to "bake" your fonts. 😀 🥯🍞🥖🥨🥐🫓🧁

The documentation contains many examples of how to run openbakery with its various options.

License

This project is licensed under the terms of the Apache 2.0 license.

All comments on issues, pull requests, and discussions will be treated as also licensed under this license such that they can be incorporated into the project's codebase.

Fork acknowledgment

This project is a fork of Font Bakery.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

openbakery-0.1.0.tar.gz (43.2 MB view hashes)

Uploaded Source

Built Distribution

openbakery-0.1.0-py3-none-any.whl (328.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page