2 ms·
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?
by bhouston 11mo ago
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?
- onion2k 11mo agoTroika 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/troika-three-text https://github.com/protectwise/troika/tree/main/packages/tro...