macOS
brew install fontconfiglocal Homebrew formula metadata
sudo port install fontconfigMacPorts ports tree · graphics/fontconfig/Portfile · 来源: api.github.com
安装
brew install fontconfiglocal Homebrew formula metadata
sudo port install fontconfigMacPorts ports tree · graphics/fontconfig/Portfile · 来源: api.github.com
sudo apk add fontconfigAlpine Linux edge package indexes · fontconfig · 来源: dl-cdn.alpinelinux.org
sudo apt install fontconfigDebian stable package indexes · fontconfig · 来源: deb.debian.org
sudo dnf install fontconfigFedora Rawhide package metadata · fontconfig · 来源: dl.fedoraproject.org
nix profile install nixpkgs#fontconfignixpkgs package indexes · fontconfig · 来源: raw.githubusercontent.com
sudo pacman -S fontconfigArch Linux sync databases · fontconfig · 来源: geo.mirror.pkgbuild.com
sudo zypper install fontconfigopenSUSE Tumbleweed package metadata · fontconfig · 来源: download.opensuse.org
概览
XML-based font configuration API for X Windows
历史
fontconfig is the freedesktop.org font discovery, matching, and configuration library used by Unix-like desktop and application stacks to centralize font access.
The freedesktop project page describes fontconfig as a library for configuring and customizing font access. Its README and user documentation emphasize automatic font discovery, font-name substitution, language coverage matching, XML configuration, and cooperation with FreeType and the X Render Extension.
The user documentation explains the core architecture: a configuration module builds internal state from XML files, while a matching module accepts font patterns and returns the nearest matching font. The design goal was to centralize font installation and customization so applications would not each invent private font configuration systems.
fontconfig became infrastructure rather than an end-user application. Its value came from being shared by many applications and toolkits, independent of the X Window System, with command-line utilities such as `fc-cache`, `fc-list`, `fc-match`, `fc-query`, and related inspection tools.
The release directory and tag history show a long-running 2.x series, from early `fcpackage` and 2.2-era releases through current stable releases documented on the freedesktop project page.
Administrators and users configure fontconfig through XML files such as `/etc/fonts/fonts.conf`, `/etc/fonts/conf.d`, `$XDG_CONFIG_HOME/fontconfig/fonts.conf`, and per-user legacy files. Applications use the library to locate fonts, substitute missing families, and obtain file and rendering metadata.
The command-line tools form a practical maintenance layer: `fc-cache` refreshes caches, `fc-list` enumerates fonts, `fc-match` shows matching decisions, and `fc-query` or `fc-scan` inspect font files.
fontconfig is one of the packages that makes desktop Linux font behavior feel coherent. Package maintainers care about it because bad cache handling, misplaced config snippets, or mismatched defaults can affect text rendering across a whole system.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
/etc/fonts/fonts.conf/etc/fonts/conf.d$XDG_CONFIG_HOME/fontconfig/fonts.conf$XDG_CONFIG_HOME/fontconfig/conf.d~/.fonts.conf~/.fonts.conf.d可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
fc-cache | cli | 全局可执行文件 | |
fc-cat | cli | 全局可执行文件 | |
fc-conflist | cli | 全局可执行文件 | |
fc-genconf | cli | 全局可执行文件 | |
fc-list | cli | 全局可执行文件 | |
fc-match | cli | 全局可执行文件 | |
fc-pattern | cli | 全局可执行文件 | |
fc-query | cli | 全局可执行文件 | |
fc-scan | cli | 全局可执行文件 | |
fc-validate | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.freedesktop.org/www/Software/fontconfig/
安装元数据
| 软件包键 | brew:fontconfig |
|---|---|
| 版本 | 2.18.2 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/fontconfig |
| 主页 | https://wiki.freedesktop.org/www/Software/fontconfig/ |
| 仓库 | https://gitlab.freedesktop.org/fontconfig/fontconfig |
| 上游文档 | https://wiki.freedesktop.org/www/Software/fontconfig |
| 许可证 | HPND-sell-variant AND Unicode-3.0 AND MIT-Modern-Variant AND MIT AND LicenseRef-Homebrew-public-domain |
| 源码归档 | https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/2.18.2/fontconfig-2.18.2.tar.gz |
| 最后更新 | 2026-07-10T02:51:01Z |
| Pulse | updated |
| 依赖 | freetype, gettext |
| 构建依赖 | gettext, meson, ninja, pkgconf |
| macOS 提供的库 | expat |
| 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 | fontconfig |
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
fontconfig 2.15.0-2.3
generic font configuration library - support binaries
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install fontconfigfontconfig-config 2.15.0-2.3
generic font configuration library - configuration
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install fontconfig-configlibfontconfig-dev 2.15.0-2.3
generic font configuration library - development
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig-devlibfontconfig-doc 2.15.0-2.3
generic font configuration library - documentation
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig-doclibfontconfig1 2.15.0-2.3
generic font configuration library - runtime
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig1libfontconfig1-dev 2.15.0-2.3
generic font configuration library - dummy package
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig1-devfontconfig
nix profile install nixpkgs#fontconfigfontconfig 2.15.0-1.1ubuntu2
generic font configuration library - support binaries
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install fontconfigfontconfig-config 2.15.0-1.1ubuntu2
generic font configuration library - configuration
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install fontconfig-configlibfontconfig-dev 2.15.0-1.1ubuntu2
generic font configuration library - development
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig-devlibfontconfig-doc 2.15.0-1.1ubuntu2
generic font configuration library - documentation
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig-doclibfontconfig1 2.15.0-1.1ubuntu2
generic font configuration library - runtime
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig1libfontconfig1-dev 2.15.0-1.1ubuntu2
generic font configuration library - dummy package
https://www.freedesktop.org/wiki/Software/fontconfig/
sudo apt install libfontconfig1-devfontconfig 2.17.1-r1
Library for configuring and customizing font access
https://www.freedesktop.org/wiki/Software/fontconfig
sudo apk add fontconfigfontconfig-dev 2.17.1-r1
Library for configuring and customizing font access (development files)
https://www.freedesktop.org/wiki/Software/fontconfig
sudo apk add fontconfig-devfontconfig-doc 2.17.1-r1
Library for configuring and customizing font access (documentation)
https://www.freedesktop.org/wiki/Software/fontconfig
sudo apk add fontconfig-doc来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.