4 ms·
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"
by FractalHQ 4y ago
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?
- SonOfLilit 4y agoGoogle 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.
- deleted 4y ago[deleted]
- davelab6 4y agoSee thread @ https://twitter.com/googlefonts/status/1522778639305101312?t=qkUk48YBvoNw9SCzecrMBw&s=19 https://twitter.com/googlefonts/status/1522778639305101312?t...
- FractalHQ 4y agoOh 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/ https://www.w3.org/TR/IFT/