fonttools / fontbakery

🧁 A font quality assurance tool for everyone
https://fontbakery.readthedocs.io
Apache License 2.0
548 stars 99 forks source link

Add shaping regression test updating tool #4603

Closed madig closed 6 months ago

madig commented 6 months ago

Description

This implements https://github.com/fonttools/fontbakery/discussions/4589. This is more a basic tool than a final implementation, to get some eyes on it.

It takes an input TOML file and a bunch of fonts and outputs a JSON file that the check com.google.fonts/check/shaping/regression can use.

Use like: python -m fontbakery.update_shaping_tests input.toml output.json path/to/*.ttf.

Things that are not implemented:

Things that could be implemented:

Todo:

Checklist