memononen/fontstash
View on GitHub ↗ ★ 787 C
Light-weight online font texture atlas builder
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2021-02-04 · latest 2026-08-05
20082026
-
▲ 2
Fontstash: Light-weight online font texture atlas builderstory by klaussilveira · 2026-08-05 · 0 comments
-
Caching the fonts to a texture atlas is not an unusual idea. https://github.com/memononen/fontstash is a well known example of this. Odin has a native port meant to work in conjunction with its bindings to NanoVG. The Odin code is coupled…
comment by henning · 2025-11-11 · in Drawing Text Isn't Simple: Benchmarking Console vs. Graphical Rendering -
When I needed the same thing, I took well-known implementation https://github.com/memononen/fontstash/blob/203fec2eb6a8905a... And ported from C to C++: https://github.com/Const-me/nanovg/blob/master/src/FontStash... Font atlas is required…
comment by Const-me · 2021-02-04 · in Improving texture atlas allocation in WebRender