googlefonts / googlefonts/gfregression

[VF] Warn users if no instances exist in fvar

Open
#41 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
14
Forks
6
PR merge metrics
No merged PRs in 30d

Description

In [RobotoVF](https://github.com/TypeNetwork/Roboto), the font [Roboto-VF.ttf](https://github.com/TypeNetwork/Roboto/blob/master/fonts/Roboto-VF.ttf) contains no instances in the fvar table.

```
>>> from fontTools.ttLib import TTFont
>>> f = TTFont('/Users/marc/Downloads/Roboto-VF.ttf')
>>> f['fvar'].instances
[]
```

fvar instances are used in GFR to generate css classes.

cc @laerm0

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.