googlefonts / googlefonts/axisregistry

[add-axis] should include the `fallback_only` field

Open
#142 3 comments 0 reactions 1 assignee Claimed by @m4rc1e View on GitHub
Dominant language
Rust
Stars
43
Forks
17
PR merge metrics
No merged PRs in 30d

Description

**Describe the issue**
The [`fallback_only`](https://googlefonts.github.io/gf-guide/axis-registry.html#the-fallback_only-field-affects-the-way-the-type-tester-surfaces-the-axis-control) is a metadata field required to indicate the UI how to present each axis in the UI.

The `add-axis` tool should include this field with a pre-defined `false` value, as it defines a slider for range axes, which are the most expected cases. The `true` option is used to represent binary and pseudo-boolean axes like [italic axis](https://github.com/googlefonts/axisregistry/blob/main/Lib/axisregistry/data/italic.textproto); however, the latter is expected to be avoided or rather exceptions.

**Screenshots**
Screen Shot 2023-08-16 at 16 53 38

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.