macOS
brew install libdrawtextlocal Homebrew formula metadata
安装
brew install libdrawtextlocal Homebrew formula metadata
概览
Library for anti-aliased text rendering in OpenGL
历史
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.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
font2glyphmap | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/jtsiomb/libdrawtext
安装元数据
| 软件包键 | brew:libdrawtext |
|---|---|
| 版本 | 0.6 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/libdrawtext |
| 主页 | http://nuclear.mutantstargoat.com/sw/libdrawtext/ |
| 仓库 | https://github.com/jtsiomb/libdrawtext |
| 上游文档 | http://nuclear.mutantstargoat.com/sw/libdrawtext |
| 许可证 | LGPL-3.0-or-later |
| 源码归档 | https://github.com/jtsiomb/libdrawtext/archive/refs/tags/v0.6.tar.gz |
| 依赖 | freetype |
| 构建依赖 | pkgconf |
| Bottle | 可用 (于 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 | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.