macOS
brew install fontconfiglocal Homebrew formula metadata
sudo port install fontconfigMacPorts ports tree · graphics/fontconfig/Portfile · source: api.github.com
brew
XML-based font configuration API for X Windows. Version 2.18.1 via Homebrew; verified 2026-06-29.
install
brew install fontconfiglocal Homebrew formula metadata
sudo port install fontconfigMacPorts ports tree · graphics/fontconfig/Portfile · source: api.github.com
sudo apk add fontconfigAlpine Linux edge package indexes · fontconfig · source: dl-cdn.alpinelinux.org
sudo apt install fontconfigDebian stable package indexes · fontconfig · source: deb.debian.org
sudo dnf install fontconfigFedora Rawhide package metadata · fontconfig · source: dl.fedoraproject.org
nix profile install nixpkgs#fontconfignixpkgs package indexes · fontconfig · source: raw.githubusercontent.com
sudo pacman -S fontconfigArch Linux sync databases · fontconfig · source: geo.mirror.pkgbuild.com
sudo zypper install fontconfigopenSUSE Tumbleweed package metadata · fontconfig · source: download.opensuse.org
overview
XML-based font configuration API for X Windows
history
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.
security posture
narrow executable 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.
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.dexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
fc-cache | cli | global executable | |
fc-cat | cli | global executable | |
fc-conflist | cli | global executable | |
fc-genconf | cli | global executable | |
fc-list | cli | global executable | |
fc-match | cli | global executable | |
fc-pattern | cli | global executable | |
fc-query | cli | global executable | |
fc-scan | cli | global executable | |
fc-validate | 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://wiki.freedesktop.org/www/Software/fontconfig/
install metadata
| Package key | brew:fontconfig |
|---|---|
| Version | 2.18.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/fontconfig |
| Homepage | https://wiki.freedesktop.org/www/Software/fontconfig/ |
| Repository | https://gitlab.freedesktop.org/fontconfig/fontconfig |
| Upstream docs | https://wiki.freedesktop.org/www/Software/fontconfig |
| License | HPND-sell-variant AND Unicode-3.0 AND MIT-Modern-Variant AND MIT AND LicenseRef-Homebrew-public-domain |
| Source archive | https://gitlab.freedesktop.org/fontconfig/fontconfig/-/archive/2.18.1/fontconfig-2.18.1.tar.gz |
| Last updated | 2026-06-29T14:07:21Z |
| Pulse | updated |
| Dependencies | freetype, gettext |
| Build dependencies | gettext, meson, ninja, pkgconf |
| Uses from macOS | expat |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | defined |
| Service | none declared |
registry facts
| 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 |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
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-docsource 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.