macOS
brew install freetypelocal Homebrew formula metadata
sudo port install freetypeMacPorts ports tree · print/freetype/Portfile · 来源: api.github.com
安装
brew install freetypelocal Homebrew formula metadata
sudo port install freetypeMacPorts ports tree · print/freetype/Portfile · 来源: api.github.com
sudo apk add freetypeAlpine Linux edge package indexes · freetype · 来源: dl-cdn.alpinelinux.org
sudo dnf install freetypeFedora Rawhide package metadata · freetype · 来源: dl.fedoraproject.org
nix profile install nixpkgs#freetypenixpkgs package indexes · pkgs/by-name/fr/freetype/package.nix · 来源: api.github.com
sudo apt install freetype2-demosDebian stable package indexes · freetype2-demos · 来源: deb.debian.org
概览
Software library to render fonts
历史
FreeType is a portable C library for rendering fonts, especially vector and bitmap font formats. It is a foundational graphics dependency: users rarely invoke it directly, but desktop stacks, browsers, games, document renderers, and toolkits depend on the library to turn fonts into glyph images.
The official history says David Turner created FreeType in 1996 to render TrueType fonts, including a TrueType bytecode interpreter. Robert Wilhelm ported it to C in 1997, Werner Lemberg joined the team, and the Pascal version ended development in 2000.
FreeType 2.0 was released in 2000 after beta releases as a complete modular rewrite. It added support for multiple font formats, including PostScript fonts, improved gray-level rendering, and glyph image and metrics caching.
The project later narrowed its scope around 2004 to creating rasterized glyph images, leaving text shaping and layout to higher-level libraries such as ICU and HarfBuzz. In 2009 the repository moved from CVS to git, and Werner Lemberg became the sole maintainer with outside contributions.
FreeType 1 influenced OS/2 and TeX tooling through FreeType/2 and ttf2pk, according to the official history. FreeType 2's narrower rendering focus made it a durable low-level dependency rather than a complete text-layout engine.
Its adoption is visible through its role as a tiny, efficient, portable renderer used by other software rather than as an end-user program. The README emphasizes portability, customization, and high-quality output across most vector and bitmap font formats.
Developers use FreeType through its C API to load font faces, inspect glyph metrics, rasterize glyph images, and integrate font rendering into larger graphics or document pipelines. The official documentation includes glyph conventions, a tutorial, API reference, design notes, and hinting documentation.
Packaged FreeType usually exposes headers, libraries, freetype-config for legacy build integration, and documentation. It does not have a normal user config file or credential store.
FreeType is one of the archetypal invisible dependencies; upgrading it can affect font rendering across a whole system. Package maintainers care about ABI stability, optional rendering features, patent-era historical choices around hinting, and coordination with HarfBuzz and graphics stacks.
Its history also explains an important Unix packaging boundary: FreeType renders glyphs, while shaping and layout live elsewhere. That division is why FreeType and HarfBuzz so often travel together in dependency graphs.
安全态势
library-like package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
freetype-config | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:freetype |
|---|---|
| 版本 | 2.14.3 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/freetype |
| 主页 | https://www.freetype.org/ |
| 仓库 | https://gitlab.freedesktop.org/freetype/freetype |
| 上游文档 | https://freetype.org/freetype2/docs/documentation.html |
| 许可证 | FTL |
| 源码归档 | https://downloads.sourceforge.net/project/freetype/freetype2/2.14.3/freetype-2.14.3.tar.xz |
| 依赖 | libpng |
| 构建依赖 | pkgconf |
| macOS 提供的库 | bzip2 |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | freetype |
| Aliases |
|
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
freetype2-demos 2.13.3+dfsg-1+deb13u1
FreeType 2 demonstration programs
sudo apt install freetype2-demosfreetype2-doc 2.13.3+dfsg-1+deb13u1
FreeType 2 font engine, development documentation
sudo apt install freetype2-doclibfreetype-dev 2.13.3+dfsg-1+deb13u1
FreeType 2 font engine, development files
sudo apt install libfreetype-devlibfreetype6 2.13.3+dfsg-1+deb13u1
FreeType 2 font engine, shared library files
sudo apt install libfreetype6freetype
nix profile install nixpkgs#freetypefreetype2-demos 2.13.2+dfsg-1build3
FreeType 2 demonstration programs
sudo apt install freetype2-demosfreetype2-doc 2.13.2+dfsg-1build3
FreeType 2 font engine, development documentation
sudo apt install freetype2-doclibfreetype-dev 2.13.2+dfsg-1build3
FreeType 2 font engine, development files
sudo apt install libfreetype-devlibfreetype6 2.13.2+dfsg-1build3
FreeType 2 font engine, shared library files
sudo apt install libfreetype6freetype 2.14.3-r0
TrueType font rendering library
sudo apk add freetypefreetype-demos 2.14.3-r0
A collection of FreeType demos
sudo apk add freetype-demosfreetype-dev 2.14.3-r0
TrueType font rendering library (development files)
sudo apk add freetype-devfreetype-doc 2.14.3-r0
TrueType font rendering library (documentation)
sudo apk add freetype-docfreetype-static 2.14.3-r0
TrueType font rendering library (static library)
sudo apk add freetype-staticfreetype 2.14.3-1.fc45
A free and portable font rendering engine
sudo dnf install freetypefreetype-demos 2.14.3-1.fc45
A collection of FreeType demos
sudo dnf install freetype-demos来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.