News for hackers. Stuff that matters.
Re:Show HN: Font Playground – Play with variable fonts by jfk13 on Monday July 16, 2018 @04:05AM (#17539545)
Support for variable fonts is due to ship in Firefox 62.

(You can experimentally enable it in Firefox 61 by setting layout.css.font-variations.enabled to true in about:config.)

Re:Show HN: Font Playground – Play with variable fonts by chime on Monday July 16, 2018 @04:28AM (#17539621)
Thanks! That worked for me. This is such a great feature. Once standard, it would reduce the need for have multiple variants of the same font-family.

I noticed only a few fonts allowed slant. Does this depend on the TTF/OTF we use?

Re:Show HN: Font Playground – Play with variable fonts by ygra on Monday July 16, 2018 @08:47AM (#17540855)
The axes are defined by the font. Slant implemented that way usually leads to an oblique font, while many fonts (even sans-serif ones) have distinctly-designed italic variants. Simply applying a skew transform to a font only rarely leads to something good, which is why most fonts don't offer that.

At least FF Meta has an italic axis, but only two discrete values for it, which comes out at more or less the same as two different fonts.