Get the latest tech news

Rendering Crispy Text on the GPU


Rubén Osorio’s blog

A ray is shot horizontally, left-to-right on a per-pixel basis, testing against the curves for intersections and accumulating a winding number to see if it’s considered outside (zero) or inside (non-zero). My favorite explanation of the math behind this, with some extra neat diagrams, is in the read-me of this GitHub repository by GreenLightning explaining his GPU Font Rendering approach. Even in this case, with a single sample and the shifting text it’s still not as dramatically visible as I would have imagined, showcasing how well the refinement idea and temporal accumulation works in principle.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of GPU

GPU

Photo of crispy text

crispy text

Related news:

News photo

DragonFlyBSD Updates Its Graphics Drivers With New GPU Support But Still Years Behind

News photo

AMD Radeon RX 9060 XT 16GB review: Finally, a powerful $350 GPU

News photo

China's first 6nm GPU boots up, targets performance parity with RTX 4060 | Lisuan's G100 enters validation as China pushes closer to GPU self-reliance