Automic VaultAutomic Vault

brew

使用 Homebrew, apk, dnf, MacPorts, Nix, apt 安装 freetype

查看 freetype 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install freetype

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install freetype

MacPorts ports tree · print/freetype/Portfile · 来源: api.github.com

Linux

Alpine Linux apk已验证 · 92%
sudo apk add freetype

Alpine Linux edge package indexes · freetype · 来源: dl-cdn.alpinelinux.org

Fedora dnf已验证 · 92%
sudo dnf install freetype

Fedora Rawhide package metadata · freetype · 来源: dl.fedoraproject.org

Nix已验证 · 92%
nix profile install nixpkgs#freetype

nixpkgs package indexes · pkgs/by-name/fr/freetype/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install freetype2-demos

Debian stable package indexes · freetype2-demos · 来源: deb.debian.org

概览

软件包摘要

Software library to render fonts

命令和别名

  • freetype-config

历史

项目历史与用法

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.

时间线

  • 1996: David Turner created FreeType to render TrueType fonts.
  • 1997: Robert Wilhelm ported FreeType to C and Werner Lemberg joined the team.
  • 2000: FreeType 2.0 released as a modular rewrite; Pascal version development stopped.
  • 2004: Project scope narrowed to rasterized glyph images, leaving shaping and layout to libraries above FreeType.
  • 2009: Source repository migrated from CVS to git; Werner Lemberg became the only maintainer.
  • 2026: FreeType 2.14.3 README identifies the current project as a small, efficient, customizable, portable C font rendering library.

Related projects

  • HarfBuzz is the shaping library explicitly referenced by the official history as a better layer above FreeType for text shaping.
  • ICU is also named by the official history as a higher-level library for text layout concerns.
  • ttf2pk and FreeType/2 are historical FreeType 1 related projects highlighted by the official history.

安全态势

风险级别:绿色

library-like package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • library-like package without higher-risk signals

信号

  • metadata:library-like

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 安装时包含 1 个运行时依赖。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
freetype-configcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本2.14.3
管理器更新时间
本地数据OK
上游not checked
检测到的最新版本未检测到

https://www.freetype.org/

  • 信息No package-manager update timestamp was available.低 置信度
  • 信息Release/tag comparison is only available for GitHub repositories.https://www.freetype.org/none 置信度

安装元数据

软件包元数据

软件包键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 DatabaseHomebrew formula API
Taphomebrew/core
Full Namefreetype
Aliases
  • freetype2
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

freetype2-demos 2.13.3+dfsg-1+deb13u1

FreeType 2 demonstration programs

https://freetype.org

sudo apt install freetype2-demos
  • Section: utils
  • Architecture: amd64
  • Source Package: freetype
  • 4 依赖
  • normalized package name match
  • 匹配方式:Freetype
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freetype2-demos from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

freetype2-doc 2.13.3+dfsg-1+deb13u1

FreeType 2 font engine, development documentation

https://freetype.org

sudo apt install freetype2-doc
  • Section: doc
  • Architecture: all
  • Source Package: freetype
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Freetype
Debian stable package indexes · deb.debian.org · Debian stable package indexes: freetype2-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfreetype-dev 2.13.3+dfsg-1+deb13u1

FreeType 2 font engine, development files

https://freetype.org

sudo apt install libfreetype-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: freetype
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetype
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfreetype-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

libfreetype6 2.13.3+dfsg-1+deb13u1

FreeType 2 font engine, shared library files

https://freetype.org

sudo apt install libfreetype6
  • Section: libs
  • Architecture: amd64
  • Source Package: freetype
  • 5 依赖
  • normalized package name match
  • 匹配方式:Freetype
Debian stable package indexes · deb.debian.org · Debian stable package indexes: libfreetype6 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

freetype

nix profile install nixpkgs#freetype
  • normalized package name match
  • 匹配方式:Freetype
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/fr/freetype/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

freetype2-demos 2.13.2+dfsg-1build3

FreeType 2 demonstration programs

https://freetype.org

sudo apt install freetype2-demos
  • Section: universe/utils
  • Architecture: amd64
  • Source Package: freetype
  • 4 依赖
  • normalized package name match
  • 匹配方式:Freetype
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: freetype2-demos from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

freetype2-doc 2.13.2+dfsg-1build3

FreeType 2 font engine, development documentation

https://freetype.org

sudo apt install freetype2-doc
  • Section: doc
  • Architecture: all
  • Source Package: freetype
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Freetype
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: freetype2-doc from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfreetype-dev 2.13.2+dfsg-1build3

FreeType 2 font engine, development files

https://freetype.org

sudo apt install libfreetype-dev
  • Section: libdevel
  • Architecture: amd64
  • Source Package: freetype
  • 8 依赖
  • 1 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Freetype
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfreetype-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

libfreetype6 2.13.2+dfsg-1build3

FreeType 2 font engine, shared library files

https://freetype.org

sudo apt install libfreetype6
  • Section: libs
  • Architecture: amd64
  • Source Package: freetype
  • 5 依赖
  • normalized package name match
  • 匹配方式:Freetype
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: libfreetype6 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

freetype 2.14.3-r0

TrueType font rendering library

https://www.freetype.org/

sudo apk add freetype
  • License: FTL OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: freetype
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Freetype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: freetype from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

freetype-demos 2.14.3-r0

A collection of FreeType demos

https://www.freetype.org/

sudo apk add freetype-demos
  • License: FTL OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: freetype
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Freetype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: freetype-demos from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

freetype-dev 2.14.3-r0

TrueType font rendering library (development files)

https://www.freetype.org/

sudo apk add freetype-dev
  • License: FTL OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: freetype
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Freetype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: freetype-dev from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

freetype-doc 2.14.3-r0

TrueType font rendering library (documentation)

https://www.freetype.org/

sudo apk add freetype-doc
  • License: FTL OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: freetype
  • normalized package name match
  • 匹配方式:Freetype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: freetype-doc from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
apk95%

freetype-static 2.14.3-r0

TrueType font rendering library (static library)

https://www.freetype.org/

sudo apk add freetype-static
  • License: FTL OR GPL-2.0-or-later
  • Architecture: x86_64
  • Source Package: freetype
  • 1 依赖
  • normalized package name match
  • 匹配方式:Freetype
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: freetype-static from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
dnf95%

freetype 2.14.3-1.fc45

A free and portable font rendering engine

http://www.freetype.org

sudo dnf install freetype
  • License: (FTL OR GPL-2.0-or-later) AND BSD-3-Clause AND MIT AND MIT-Modern-Variant AND LicenseRef-Fedora-Public-Domain AND Zlib
  • Category: Unspecified
  • Architecture: i686
  • Source Package: freetype
  • 8 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Freetype
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: freetype from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
dnf95%

freetype-demos 2.14.3-1.fc45

A collection of FreeType demos

http://www.freetype.org

sudo dnf install freetype-demos
  • License: (FTL OR GPL-2.0-or-later) AND BSD-3-Clause AND MIT AND MIT-Modern-Variant AND LicenseRef-Fedora-Public-Domain AND Zlib
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: freetype
  • 7 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Freetype
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: freetype-demos from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment