← Back to context

Comment by simonw

7 months ago

> The font shaping engine Harfbuzz, used in applications such as Firefox and Chrome, comes with a Wasm shaper allowing arbitrary code to be used to "shape" text.

In that case could you ship a live demo of this that's a web page with the font embedded in the page as a web font, such that Chrome and Firefox users can try it out without installing anything else?

In the video he shows that the font file size is 290GB, so I would assume that's a little prohibitive.

The wasm shaper is an experimental feature that is not enabled in any browser at the moment.

As shown in the video, the font is 280 GB, so opening such a page will practically be a nightmare, especially if you are on cellular.

  • The font is 60MB.

    > Usage: Just download llama.ttf (60 MB download, since it's based on the 15M parameter TinyStories-based model demoed above) and use it like you would any other font.