macOS
brew install libdrawtextlocal Homebrew formula metadata
brew
Library for anti-aliased text rendering in OpenGL. Version 0.6 via Homebrew; verified from local package data.
install
brew install libdrawtextlocal Homebrew formula metadata
overview
Library for anti-aliased text rendering in OpenGL
history
libdrawtext is John Tsiombikas's small C library for fast anti-aliased text rendering in OpenGL, with FreeType-backed glyph rasterization and an included `font2glyphmap` tool for pre-rendered glyph maps.
The README describes libdrawtext as an OpenGL text-rendering helper that can also render into plain RGBA pixel buffers starting with version 0.3. Its copyright range begins in 2011, and the public tags show release_0.1 in August 2012, followed by release_0.2 and 0.2.1 in April 2014, release_0.3 in March 2016, release_0.4 in July 2016, v0.5 in February 2019, and v0.6 in February 2023.
The 0.6 release notes are maintenance-oriented: glyph metric changes, GL backend fixes, Android/OpenGL ES compatibility adjustments, GCC 10 compatibility, and build fixes. That pattern fits a compact library maintained for embedding rather than a broad end-user application.
Evidence for broad ecosystem adoption is thin, but the Homebrew package and GitHub repository show enough activity for developers who want a lightweight OpenGL text library without pulling in a full UI or game engine stack. Its appeal is strongest for demos, visualization programs, and small graphics tools that need text overlays.
The README points users to example programs and the heavily commented `drawtext.h` header. It supports Unix and MinGW builds through `./configure`, `make`, and `make install`, with FreeType and OpenGL both described as optional depending on whether glyphmaps or pixel-buffer rendering are used.
libdrawtext is a classic small-library package: narrow scope, optional dependencies, C ABI, and a helper binary. For package maintainers, the interesting part is keeping a minimal OpenGL-era text utility available without dragging in larger graphics frameworks.
security posture
library-like package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
font2glyphmap | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/jtsiomb/libdrawtext
install metadata
| Package key | brew:libdrawtext |
|---|---|
| Version | 0.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/libdrawtext |
| Homepage | http://nuclear.mutantstargoat.com/sw/libdrawtext/ |
| Repository | https://github.com/jtsiomb/libdrawtext |
| Upstream docs | http://nuclear.mutantstargoat.com/sw/libdrawtext |
| License | LGPL-3.0-or-later |
| Source archive | https://github.com/jtsiomb/libdrawtext/archive/refs/tags/v0.6.tar.gz |
| Dependencies | freetype |
| Build dependencies | pkgconf |
| Bottle | available (on arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, monterey, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | libdrawtext |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.