googlefonts / nunito

repo for the Nunito Font family
SIL Open Font License 1.1
121 stars 10 forks source link

Variable font instances error #14

Open wentin opened 5 years ago

wentin commented 5 years ago

The instances that I export out of the raw variable font as listed below, there are 2 potential errors in it. font from here: https://fonts.googleapis.com/earlyaccess/nunitovfbeta.css

  1. There are 2 “Regular” instance, the first Regular instance 208 is wrong, 208 is bigger than the maxValue;
  2. Black instance that is 178, the maxValue of wght axis is 156, 178 is too big;
  3. ExtraLight instance that is 42, the minValue of wght is 54, 42 is too small;
    
    "axes": [
        {
          "tag": "wght",
          "name": "Weight",
          "minValue": 54,
          "defaultValue": 54,
          "maxValue": 156
        }
      ],

"instances": [ { "name": "Regular", "coordinates": { "wght": 208 } }, { "name": "Black", "coordinates": { "wght": 178 } }, { "name": "ExtraBold", "coordinates": { "wght": 151 } }, { "name": "Bold", "coordinates": { "wght": 125 } }, { "name": "SemiBold", "coordinates": { "wght": 101 } }, { "name": "Regular", "coordinates": { "wght": 81 } }, { "name": "Light", "coordinates": { "wght": 61 } }, { "name": "ExtraLight", "coordinates": { "wght": 42 } } ]

davelab6 commented 5 years ago

Thanks for reporting this @wentin :)

@m4rc1e please take a look :)

m4rc1e commented 5 years ago

I get a fontmake issue instead. I've posted it to fontmake's repo.