HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
memononen
fontstash
C2021–2026
memononen / fontstash

fontstash

Light-weight online font texture atlas builder

3Distinct people
3Mentions
0Explicit recommenders
787GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Light-weight online font texture atlas builder

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year3 dated mentions

Observed mentions: 2021-02-04 20:27:23 UTC to 2026-08-05 15:57:31 UTC.

012021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20232024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2026-01-01 00:00:00 UTC to 2027-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments. Incomplete calendar period.2026*

* An incomplete calendar period is marked with an outlined bar. Its count is not directly comparable with a full period.

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC101
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC101
2026 (partial)2026-01-01 00:00:00 UTC2027-01-01 00:00:00 UTC110

What Hacker News says

3 sources
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 to be dynamic because Unicode has too many different codepoints. Statically allocated bitmap fonts no longer work in practice. Based on the pictures in the article, it works better than what WebRender is doing. The performance is good even on Raspberry Pi. This library https://github.com/Const-me/Vrmac uses 3 of them for 2D graphics: RGBA for sprites, another RGBA for ClearType fonts, and grayscale one for non-ClearType fonts. Here's the only pixel shader that implements all 2D rendering, including text: https://github.com/Const-me/Vrmac/blob/master/Vrmac/Draw/Sha... > a batch can only reference a fixed
Read the rest
set of resources (such as GPU buffers and textures) Technically that’s true, but not practically. There’s GPU resource type called “texture array”. It’s possible to append new layers into an array without moving data across PCIe and back.
In Improving texture atlas allocation in WebRender

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.