googlefonts / googlefonts/fontmake

[designspace] Can't generate variable font fixed axis subset

Open
#920 13 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
888
Forks
97
Avg merge
4d 52m
Merged PRs (30d)
1

Description

I have a large family with a weight and optical size axis. Currently trying to use designspace 5 to split the family into multiple variable fonts: specific values for weight with the whole optical size axis.

```xml











...

```

I get a `InvalidDesignSpaceData("No default source.")` error if I include a stop on the weight axis that doesn't have a corresponding source: i.e.`uservalue="100"` works, as it has a corresponding source, but `uservalue="200"` doesn't — it doesn't have a corresponding source in the sources for the weight axis.

This is unexpected—I was under the impressing that you could slice to a specific value anywhere on an axis, which would be so very nice. This behavior isn't documented anywhere as far as I can find; is it the correct behavior?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.