Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Google Maps, since it is WebGL-based, I think would not support these advanced font rendering features out of the box. Probably could be added?


Troika text (a font-to-signed-distance-functions tool) can do a lot of the heavy lifting of using fonts in WebGL apps. It can also do the process of converting from font data to SDFs in glsl, so it's fast. No idea if it supports variable fonts these days though. https://github.com/protectwise/troika/tree/main/packages/tro...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: