TIL: Depending on the rendering engine, fonts can include and run WebAssembly code. This can be used to program some intelligence into them, e.g. for complex ligatures in Arabic etc.
What would you do in 2024, armed with that knowledge?
That's right, embed an LLM in your font so that it can auto-complete sentences.
Søren Fuglede Jørgensen did just that, with llama.ttf.
https://fuglede.github.io/llama.ttf/
Check out the 15 minute video presentation for a demo of what it can do.