googlefonts / googlefonts/fontmake
Non-integer axis mapping: Error: Base master not found
- Dominant language
- Python
- Stars
- 888
- Forks
- 97
- Avg merge
- 4d 52m
- Merged PRs (30d)
- 1
Description
With the following axis entry in a DesignSpace file produced by FontLab 8:
```
Weight
```
with gftools 0.9.30, I'm getting the following error:
> Generating fonts from Designspace failed: Base master not found.
Correcting the entry to the following (eliminating fractional mappings so that only integers are used), I get a correct build.
```
Weight
```
Can the mapping contain fractions by spec, or should I raise an issue with the FontLab team?
Contributor guide
Research direction
No source files or tests are named. Reproduce the failure with the provided DesignSpace axis and gftools 0.9.30, then trace how fractional axis mappings are handled during font generation. Done means the behavior is resolved according to the DesignSpace specification, with coverage for the reported fractional mapping case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100