2 ms·
There's a whole, let's say, scripting engine that lets the font decide which glyph is going to be used that goes way further than just simple ligature substitut
by seba_dos1 3y ago
There's a whole, let's say, scripting engine that lets the font decide which glyph is going to be used that goes way further than just simple ligature substitution. People have even implemented "games" as fonts this way: https://www.coderelay.io/fontemon.html https://www.coderelay.io/fontemon.html
- skeaker 3y agoGreat link, I'm impressed by the sort of animations that they were able to fit into a font.
- RobotToaster 3y agoWell, that's surprisingly addictive.
- mmulet 3y agoIf anyone is interested I wrote a blog post about how I made fontemon and which type features I used: https://github.com/mmulet/code-relay/blob/main/markdown/HowIDidIt.md https://github.com/mmulet/code-relay/blob/main/markdown/HowI...
- avgcorrection 3y ago> Implementation for a seemingly simple logic is surprisingly powerful hmm.
- bee_rider 3y agoHave there been any high profile exploits of these font scripting engines? I guess that must be where stuff like https://arstechnica.com/information-technology/2015/05/beware-of-the-text-message-that-crashes-iphones/ https://arstechnica.com/information-technology/2015/05/bewar... comes from. It seems quite risky, I’m used to not downloading and executing shady programs, but downloading and executing… characters… is hard to avoid.
- josefx 3y agoWindows had some security issues in the past. It has a font rendering engine in the kernel.