Skip to content

googlefonts__axisregistry__fvar_axis_defaults

Simon Cozens edited this page May 8, 2025 · 1 revision

Validate defaults on fvar table match registered fallback names in GFAxisRegistry.

googlefonts/axisregistry/fvar_axis_defaults

  • Applies to: TTF
  • Fontspector can hotfix?: no
  • Fontspector can fix sources?: no

Rationale

Check that axis defaults have a corresponding fallback name registered at the Google Fonts Axis Registry, available at https://github.com/google/fonts/tree/main/axisregistry

This is necessary for the following reasons:

To get ZIP files downloads on Google Fonts to be accurate — otherwise the chosen default font is not generated. The Newsreader family, for instance, has a default value on the 'opsz' axis of 16pt. If 16pt was not a registered fallback position, then the ZIP file would instead include another position as default (such as 14pt).

For the Variable fonts to display the correct location on the specimen page.

For VF with no weight axis to be displayed at all. For instance, Ballet, which has no weight axis, was not appearing in sandbox because default position on 'opsz' axis was 16pt, and it was not yet a registered fallback positon.

Proposal

Profiles

  • googlefonts (in section 'Font File Checks')

Clone this wiki locally