The 'wght' axis only operates up to 400?

Adam Jagosz
Adam Jagosz Posts: 689
edited June 2019 in Font Technology
I am building a variable font (with FontLab) for the first time and testing it in Firefox and Chrome. In both browsers, the weight axis (whose range I set to 100—900) only operates from 100 to 400 (where 400 looks like 900 in FontLab) and above the behavior differs between the browsers and method: when using CSS font-variation-settings, both browsers just keep displaying the 400 (900) version, but with CSS font-weight, for 'wght' 600+, Firefox applies faux bold.

Comments

  • Adam Jagosz
    Adam Jagosz Posts: 689
    edited June 2019
    A possible culprit is that the font project is lacking a default master that would have the weight at 400, and one of the 900 masters is marked as default instead.
    Sadly simply adding an interpolated ‘master’ at center of this axis and selecting it as default renders the project unexportable...