Build variable fonts for Google Fonts #75
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR allows for the existing fonts to be built as variable fonts using a libre toolchain, a requirement for upgrading the fonts on Google Fonts. This was done by:
babelfont
font source translator to "bake in" Glyphs custom parameters such as "Remove Glyphs" and "Replace Features".gftools-builder
. A Makefile is included which sets up the Python virtual environment, rebuilds the sources files and callsgftools-builder
.Note that we store the generated sources in the repository so that the fonts can be recompiled at a later date only using a builder process with access to the repo contents.
Will be used to fix google/fonts#8449.