Hacker ApprovedDepartments

Slug text rendering algorithm

Hacker Approved

The most recommended of 4 text rendering libraries

Recommended for crisp GPU text and vector rendering from Bézier curves at large sizes, now public domain. Caveat: looks wrong at long distances and tiny text.

Recommended for crisp GPU text and vector rendering from Bézier curves at large sizes, now public domain. Caveat: looks wrong at long distances and tiny text.

25 people gave an opinion

recommend it
24
criticize it
1
approval share
96%
Each figure is one person. RecommendsCriticizes

Recommended in 6 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: not recommended
  8. June 2026: recommended
  9. July 2026: not recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 24 people recommend itNeeds 10 or more, met.
  • 24 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 6 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Free, open-source, public domain release

    “Actually novel implementation is protected, paid the author's bills, and was dedicated to the public domain recently”

    Comment from 10 Aug 2026 in “Mistral Patent for "Code implemented tool calls"”

    “I have had my eye on Slug for a while and wished it was open-source.”

    Comment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

    “Awesome algorithm and thank you for donating it to open source!”

    Comment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”
  • Renders vector shapes from Bézier curves

    “there's really no excuse not to render glyphs directly from the Bézier curves with analytic anti-aliasing”

    Comment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

    “Slug was designed to render text and vector graphics inside a 3D scene”

    Comment from 19 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

    “Slug is suitable for generic vector graphics”

    Comment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”
  • No numerical precision issues

    “The algorithm eliminates all numerical precision issues -- provably -- making it the most robust of all time.”

    Comment from 19 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

    “Slug does not have numerical precision issues.”

    Comment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

Other text rendering libraries people recommend

The three most recommended other text rendering libraries, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Slug text rendering algorithm compared with 3 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Slug text rendering algorithmThis page24196%6—Approved
Pretext17481%5—Approved
HarfBuzz8280%6——
FreeType5456%5——
See all 4 text rendering libraries, ranked

What people said

26 of the 28 comments that mention it, newest first. Each links to the original comment.

“the best renderer solution at the moment is Slug”

RecommendsComment from 25 Oct 2026 in “We should be more ambitious with the software we build”

“Slug is a very cool algorithm.”

RecommendsComment from 30 Sep 2026 in “SDF vs. MSDF vs. Slug: GPU Text Rendering”

“It does not look correct at long distances, which is why you shouldn't use it for outlines, drop shadows”

MixedComment from 30 Sep 2026 in “SDF vs. MSDF vs. Slug: GPU Text Rendering”

“which is great on really high resolution displays and large sizes”

MixedComment from 30 Sep 2026 in “SDF vs. MSDF vs. Slug: GPU Text Rendering”

“But slug wins in perspective in my eyes.”

RecommendsComment from 30 Sep 2026 in “SDF vs. MSDF vs. Slug: GPU Text Rendering”

“couldn't publish it as FOSS because they found a patent covering it”

CriticizesComment from 13 Aug 2026 in “Mistral Patent for "Code implemented tool calls"”

“Actually novel implementation is protected, paid the author's bills, and was dedicated to the public domain recently”

RecommendsComment from 10 Aug 2026 in “Mistral Patent for "Code implemented tool calls"”

“Slug preserves the vector shapes.”

MixedComment from 11 Apr 2026 in “HarfBuzz Slug Support with WebGL”

“Distance-based anti-aliasing remains an advantage of Slug in my view.”

MixedComment from 19 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“Slug was designed to render text and vector graphics inside a 3D scene”

RecommendsComment from 19 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“The algorithm eliminates all numerical precision issues -- provably -- making it the most robust of all time.”

RecommendsComment from 19 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“something far simpler (like slug!) will end up being more efficient simply by avoiding all those shader launches”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“Slug does not have numerical precision issues.”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“I have had my eye on Slug for a while and wished it was open-source.”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“I'm really glad Slug was able to find commercial success for you”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“Slug is suitable for generic vector graphics”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“works surprisingly well though, unless you need tiny text”

MixedComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“It's an awesome approach to let GPU render fonts.”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“Some of those individual glyphs are composed of over 1000 Bézier curves!”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“The open-source announcement is the real news.”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“Amazing, Thank you Eric!!”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“there's really no excuse not to render glyphs directly from the Bézier curves with analytic anti-aliasing”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“Awesome algorithm and thank you for donating it to open source!”

RecommendsComment from 18 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“It is an excellent, artfully crafted library; really the pinnacle of software engineering in my opinion.”

RecommendsComment from 17 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“What an absolutely incredibly gift to the community!!”

RecommendsComment from 17 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

“extremely elegant and very appealing”

RecommendsComment from 17 Mar 2026 in “Slug Text Rendering Algorithm Dedicated to Public Domain”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.