zlacker

[return to "Bad Apple Font"]
1. yankpu+S11[view] [source] 2023-08-30 12:30:37
>>notmys+(OP)
I don’t understand the WASM part at all and I feel dumb

How can WASM be in font? Font is a font, not WASM file. It’s a different format

◧◩
2. dmytro+fg1[view] [source] 2023-08-30 13:33:14
>>yankpu+S11
In theory, a font is purely set of vector graphics. In practice, just rasterizing vector graphics usually doesn't lead to good results on small font sizes combined with small pixel density, so vector graphics needs to be adjusted to better fit into pixel grid. There are multiple ways to do it, one of the ways is to write a script to adjust graphics so it better fits the pixel grid. For example TypeType fonts contain a virtual machine that is capable of just that [1]. By conceptual extension, then a font format might just as well contain a full blown virtual machine with potentially a program per glyph, WASM is a reasonable candidate for something like that.

- [1] https://learn.microsoft.com/en-us/typography/truetype/hintin...

[go to top]