Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build variable fonts for Google Fonts #75

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

simoncozens
Copy link

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:

  • Inverting the axis mapping in the .glyphs source file, as detailed in Problem with weight axis in variable font #73.
  • Developing functionality within the babelfont font source translator to "bake in" Glyphs custom parameters such as "Remove Glyphs" and "Replace Features".
  • Automatically generating transformed versions of Cormorant Infant, Cormorant Unicase and Cormorant Garamond sources using babelfont
  • Compiling these generated sources with gftools-builder. A Makefile is included which sets up the Python virtual environment, rebuilds the sources files and calls gftools-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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update Cormorant Garamond upper case B
1 participant