* Setting up files + directories for parametric axes Note that, for now, the URL slug convention is `xxxx_axis` * New version of illos to better demonstrate range * Creating `Introducing parametric axes` article (needs formatting) * Creating `parametric_axis` glossary term * Inserting links into para. article, but actual URLs are still to do * Inserting actual URLs into links in para. article * Inserting actual URLs into links in para. glossary term * Actual copy for para. gloss. terms - no formatting * Adding excerpts + editing axis names in titles * Adding related_lessons: "introducing_parametric_axes" on all para terms * Correct `thumbnail.svg` for `parametric_axis` entry * Added all links, but w/ placeholder URLs * Adding correct URLs in all para. axis gloss. intros * Actual URLs for para. axis glossary terms * Actioning @davelab6’s copy edits to `contrast` entry * Fixing left-over “INSERT_URL” in `optical_size_axis` entry * Adding Dave to contributor list * Adding `introducing_parametric_axes` into module running order * Adding prev / next articles * New illos for para. axis article * Add note about optical size file-size impact (#4567) * Further copy tweaks to the VF addition on `choosing_typefaces_that_have_optical_sizes` * Captions + alt text in `introducing_parametric_axes` article * Re-ordering VF note again * Alt text for all 8 para. axes’ thumbnails * Uppercase Optical Size because it's a proper noun (#4543) * introducing_variable_fonts/content Add mixing axes (#4552) * introducing_variable_fonts/content Add mixing axes Per @dberlow suggestion to explain that axes can be combined throughout the introduction article * Removing Underware ref. + link fix + minor copy tweak Co-authored-by: Elliot Jay Stocks <elliot@elliotjaystocks.com> * Update Roboto Flex description and add/fix profiles (#4557) * knowledge/contributors: Correct davelab6 URL * glossary/terms/optical_size_axis add parametric finesse * glossary/terms/xtra_axis remove double space * ytde_axis/term.textproto correct copy for depth * Removing `axis_in_variable_fonts` related term * Removing `variable_fonts` related term, too * Removing EJS author credit * Fixing (I think!) broken links to lessons without the full path * 2 modified illos for `introducing_parametric_axes` * Renaming 2nd image to `thumbnail` * Fix Knowledge URLs: s/lessons/lesson * ytde_axis/term.textproto correct copy for depth * Removing `axis_in_variable_fonts` related term * Removing `variable_fonts` related term, too * Removing EJS author credit * Fixing (I think!) broken links to lessons without the full path * 2 modified illos for `introducing_parametric_axes` * Renaming 2nd image to `thumbnail` * Fix Knowledge URLs: s/lessons/lesson * Fix path to illustration in content.md Co-authored-by: Elliot Jay Stocks <elliot@elliotjaystocks.com> Co-authored-by: Dave Crossland <dave@lab6.com> Co-authored-by: Tomas <364033+tomasdev@users.noreply.github.com>
AxisRegistry Python Module
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.
GF Axis Registry
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.
Axis Metadata Fields
tag- Tag for the axis used to specify an axis in
font-variation-settingsand 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,
0means values must be specified as whole numbers while-1means values can be as precise as one decimal place.
- Describes the specificity at which an axis position can be specified.
For example,
fallback(repeated)- Instance positions along the axis, such as wght 100,200,300,400,500,600,700,800,900.
- A cross-product of fallback positions along all supported axes is created to support legacy browsers that lack variable font support. For axes with CSS3 properties (such as font-weight), the positions accessible to CSS3 should be specified. For axes lacking CSS3 properties a legacy browser is limited to a single position and that position must be at a fallback.
fallback_only- Describes whether to only use fallback values when presenting to users.
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.