
Slug Font Rendering
Reference HLSL shaders for the Slug vector font algorithm that render glyphs on the GPU without textures.
- skills.sh installs
- 1.2K
- GitHub stars
- 98
- last updated
- Jul 14, 2026
What it does
- Covers
slug.hlslfor core coverage,curve.hlslfor Bézier and line evaluation, andband.hlslfor band-based optimization - Provides a vertex and fragment shader pattern plus winding-number and anti-aliasing helper functions
- Requires preprocessing TrueType or OpenType outlines on the CPU into quadratic curve and line records in a GPU buffer
- Designed for engines that need resolution-independent text rendering on D3D11, D3D12, or Vulkan
Install
$ npx -y skills add reason-machines/trending-skills --skill slug-font-rendering -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Slug Font Rendering Algorithm
Skill by ara.so — Daily 2026 Skills collection.
Slug is a reference implementation of the Slug font rendering algorithm — a GPU-accelerated technique for rendering vector fonts and glyphs at arbitrary scales with high quality anti-aliasing. It works by encoding glyph outlines as lists of quadratic Bézier curves and line segments, then resolving coverage directly in fragment shaders without pre-rasterized textures.
Paper: JCGT 2017 — Slug Algorithm
Blog (updates): A Decade of Slug
License: MIT — Patent dedicated to public domain. Credit required if distributed.
What Slug Does
- Renders TrueType/OpenType glyphs entirely on the GPU
- No texture atlases or pre-rasterization needed
- Scales to any resolution without quality loss
- Anti-aliased coverage computed per-fragment using Bézier math
- Works with any rendering API that supports programmable shaders (D3D11/12, Vulkan, Metal via translation)
Repository Structure
Details
- Repository
- github.com/reason-machines/trending-skills
- Category
- Game Development
- First seen
- Apr 16, 2026
More from reason-machines/trending-skills
All 163- Taiwan Md Knowledge Base1.2K
- Witr Process Inspector1.2K
- Zeroboot Vm Sandbox1.2K
- Code Review Graph1.1K
- Flash Moe Inference1.1K
- Ghostling Libghostty Terminal1.1K
- 724 Office Ai Agent1K
- Claude Peers Mcp1K
- My Brain Is Full Crew1K
- Weixin Agent Sdk1K
- Dingtalk Workspace Cli941
- Polymarket Arbitrage Trading Bot927
- Awesome Phd Cv916
- Web Access Claude Skill916
- Weclaw Wechat Ai Bridge911
- Awesome Free Llm Apis904
- Cc Connect Ai Bridge884
- Filmkit Fujifilm Camera879
- Opencli Rs Web Scraper874
- Vercel Labs Emulate873
- Creationix Rx Data Store862
- Agent Flow Visualization840
- Microsoft Rust Training837
- Tg Ws Proxy Telegram Socks5837
Similar to Slug Font Rendering
More Game Development
typegpuSkillsoftware-mansion-labs/skills1.9K installsType-safe WebGPU shaders and CPU buffers in TypeScript, unified by one schema system for TypeGPU 0.12.
HyadesMCP serverapology-is-policy30 starsRenders LaTeX math as multi-line Unicode or ASCII text art for terminals, comments, and emails.
Image to SVGMCP serverbotmonster11 starsConverts raster images to SVG vectors from base64 data or URLs, with tuning controls.
webglSkillmartinholovsky/claude-skills-generator565 installsWebGL 2.0 shader and effects guide for the JARVIS HUD with GPU safety limits and context-loss handling.
typographySkillpetekp/agent-skills529 installsProfessional type scale, pairing, spacing, and font-loading guidance for readable, hierarchical interfaces.
web-typographySkillwondelai/skills9.9K installsChoose, pair, and implement web typefaces with readability, loading performance, and fallback rules.