.. | ||
casual.textproto | ||
cursive.textproto | ||
expression.textproto | ||
grade.textproto | ||
italic.textproto | ||
monospace.textproto | ||
optical_size.textproto | ||
README.md | ||
slant.textproto | ||
softness.textproto | ||
weight.textproto | ||
width.textproto | ||
wonkiness.textproto |
GF Axis Registry
This package contains a collection of metadata files that collectively form the Google Fonts Axis Registry.
Axis Metadata Fields
tag
- Tag for the axis used to specify an axis in
font-variation-settings
and CSS API requests.
- Tag for the axis used to specify an axis in
display_name
- Readable name for the axis, generally the expanded form of
tag
.
- Readable name for the axis, generally the expanded form of
min_value
- Lower bound of the axis. Inclusive.
max_value
- Upper bound of the axis. Inclusive.
default_value
- Default position of the aixs.
precision
- Describes the specificity at which an axis position can be specified.
For example,
0
means values must be specified as whole numbers while-1
means values can be as precise as one decimal place.
- Describes the specificity at which an axis position can be specified.
For example,
fallback
(repeated)- Important positions along the axis. For weight, these are positions like Regular, Medium, and Bold.
description
- A description of the axis.
Why does Google Fonts have its own Axis Registry?
We 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.