百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
G

gllabel

> 编程语言
开源

GPU 向量文本渲染 (WIP)

193 stars0 点赞1 次浏览
访问官网GitHub

工具介绍

GPU 向量文本渲染 (WIP)

GLLabel - GPU Vector Text Rendering

A C++ library for rendering vector text on the GPU.

Work in progress. You probably don't want to use this yet.

This rendering method allows text to be arbitrarily scaled and rotated, just as it could be with CPU-rendered text. The glyphs are loaded in real-time from font files. This project was made possible by Will Dobbie's algorithm for GPU rendering vector shapes and text defined by quadratic Bézier curves. This project builds on that algorithm by implementing a framework to load and display arbitrary text rather than the pregenerated data set used in his demo.

Related / relevant work

  • Valve Signed Distance Fields (2007) - Early research into GPU text rendering
  • GPU text rendering with vector textures (2016) - Will Dobbie's algorithm mentioned above
  • Easy Scalable Text Rendering on the GPU (2016) - Rendering vector shapes with polygons
  • Slug (algorithm whitepaper (2017)) - Closed-source commercial GPU vector text renderer
  • Pathfinder (algorithm overview (2019)) - Open-source experimental GPU vector graphics renderer
  • A Primer on Bézier Curves - almost everything you ever wanted to know about Bézier curvess

Demo

Building

Library dependencies

  • C++14
  • GLEW
  • GLM
  • FreeType2 (used only to load outline data from font files, not for rasterization)

Additional demo dependencies

  • GLFW

To build the library and demo, modify the _INCLUDES and _LIBS lines at the top of makefile to match your system's configuration, then run make.

License

The code in this project is licensed under the Apache License v2.0.

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

C++openglvector-text

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言