Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?



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.



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/




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: