News for hackers. Stuff that matters.
Re:Roboto but Make It Flex by FractalHQ on Saturday May 07, 2022 @12:57AM (#31292270)
This is awesome and opens up a lot of doors for creative expression!

But it's 1.7 MB

Is there no way to reduce that?

It would be great if you could "compile" a pre-defined combinations of Axes values to only bundle what's needed for a design. I suppose flattening to SVG could help provided the text had captions for screen readers?

Re:Roboto but Make It Flex by SonOfLilit on Saturday May 07, 2022 @01:10AM (#31292312)
Google Fonts compiles specific given sizes and weights into a simpler and smaller file, I think.

It would maybe be harder to give values to some variables while keeping others, but I don't think it should be and anyway just instantiating all variables solves most use cases. It's like SVGs except smaller (binary format) and in a format that text rendering systems know how to work with.

Re:Roboto but Make It Flex by davelab6 on Saturday May 07, 2022 @09:51PM (#31300492)
Re:Roboto but Make It Flex by FractalHQ on Sunday May 08, 2022 @04:54PM (#31308061)
Oh wow- the thread shares a new spec that does exactly this. Incremental Font Transfer[0] which “…allows clients to load only the portions of the font they actually need which speeds up font loads and reduces data transfer needed to load the fonts.”

[0] https://www.w3.org/TR/IFT/