← All resources

Slughorn, MIT-licensed GPU-agnostic Slug font/glyph rendering library for OpenGL/OSG/Vulkan and all GPU-driven graphics APIs

Auto-discovered

Blog Intermediate

Chris Hanson

Visit resource ↗

Description

The AlphaPixel blog post announces Slughorn, an MIT-licensed C++20 library for GPU-native font and glyph rendering across OpenGL, Vulkan, OpenSceneGraph, and other GPU-driven APIs. Chris Hanson positions it as an input layer that feeds curve data to your renderer rather than replacing a full text engine.

Slughorn adapts Eric Lengyel's Slug-style GPU curve representation and can import outlines from FreeType (including COLRv0 and COLRv1 color emoji), NanoSVG, and additional path backends. Python bindings and demo programs illustrate integration for HUDs, in-scene 3D UI, and scientific visualization labels.

Developers who need crisp vector text and icons at arbitrary scale without CPU rasterization every frame are the intended audience. Familiarity with modern C++ and at least one listed graphics API is assumed.

The announcement is a free blog article with links to the open-source repository and documentation. Slug-family GPU text rendering is a known niche in engine tooling circles, though Slughorn itself is newer community infrastructure.