Insufficient quality and effect handling for small text in GPU text rendering
Problem
In GPU text rendering based on SDF/Slug, users encounter issues with small‑text clarity on fine‑grained fonts, lack of visual effects such as outlines and smoothing, and missing automatic hinting, which limits quality on high‑resolution displays and multi‑size scenarios.
Pain points
- Small text appears blurry on fine‑grained fonts
- Missing visual effects such as outlines and smoothing
- Requires per‑size pre‑processing or manual hinting
- Slug’s binary output is suboptimal on high‑resolution displays
- CJK characters require large atlases that are hard to pre‑bake
Questions to verify
- Is automatic hinting needed to avoid per‑size pre‑processing?
- Do users care about anti‑aliasing quality and visual effects such as outlines?
- Would they be willing to pay for or switch to a higher‑quality rendering solution?
Evidence
quote
Slug mentioned!When the Slug patent was released to the public domain, I put together[1] Snail[2], a Slug implementation in Zig.One thing I found was that it was tough to get small text to look good with some fonts. TrueType fonts often have bytecode that tweaks curve points to better fit the pixel grid at a particular size. Part of the pitch for Slug is that it doesn't require per-size glyph prep, so Slug text is just unhinted.
quote
I once implemented SDF text rendering. To me, the thing I liked the most about this technique it how easy it is to add effects on top. With a few lines of shader code, I had outlines and softening of the edges (antialiasing). I didn't try the MSDF variant, as I didn't mind corners not being sharp when scaled up, so I don't know if these effects break on MSDF.Slug doesn't seem to support any of these, it is just "for a given point, am I in or am I out?", but it doesn't tell you by how much, which is great on really high resolution displays and large sizes, but you would lose the ability to do the kind of effects you can do with SDFs, and have to deal with antialiasing separately.
quote
I've also been working on a GPU curve renderer, Windfoil, based on a formulation that Fable 5 originally proposed to me during a directed search [1]. It is similar in some ways to Slug, not always as fast, but uses less shader storage (single band instead of two) and produces higher quality anti-aliasing i.e. closer to a box-filtered ground truth.It may be of interest to some game/graphics devs here...[1] https://github.com/texel-org/windfoil-algorithm
Disclaimer: this card is distilled by AI from community discussions as “pain point evidence”. It is a starting point for need analysis and validation, not a “validated market need”. AI has analytical limits; please open the original discussion above to manually verify before key decisions.