This repository contains a python package providing easy access to the GF Axis Registry. Data was copied (and is kept is sync with) its original location at the axisregistry directory on the google/fonts git repo.
As of March 4th, 2022, there's an ongoing plan to soon make this module the central place for updates on the data-set.
This package contains a collection of metadata source files that collectively form the Google Fonts Axis Registry.
The live Axis Registry is at fonts.google.com/variablefonts, and axis definitions are only final when they appear on that page.
When the registry is updated here, a line like axisregistry/axis_name.textproto should be added to the to_sandbox.txt file.
tagfont-variation-settings and CSS API requests.display_nametag.min_valuemax_valuedefault_valueprecision0 means values must be specified as whole numbers while -1 means values can be as precise as one decimal place.fallbackDefault and its value should correspond to the default_value position of the axis.fallback_onlydescriptionWe support a superset of the OpenType axis registry axis set, and use additional metadata for each axis. Axes present in a font file but not in this registry will not function via our API. No variable font is expected to support all of the axes here.
Any font foundry or distributor library that offers variable fonts has a implicit, latent, de-facto axis registry, which can be extracted by scanning the library for axes' tags, labels, and min/def/max values. While in 2016 Microsoft originally offered to include more axes in the OpenType 1.8 specification (github.com/microsoft/OpenTypeDesignVariationAxisTags), as of August 2020, this effort has stalled. We hope more foundries and distributors will publish documents like this that make their axes explicit, to encourage of adoption of variable fonts throughout the industry, and provide source material for a future update to the OpenType specification's axis registry.