encyclopegia.org

Fontconfig

Fontconfig is a free software program library designed to provide configuration, enumeration and substitution of fonts to other programs.[src] Fontconfig was originally written and maintained by Keith Packard, and is currently maintained by Behdad Esfahbod.[src] Fontconfig is typically used on graphical Linux (and other Unix-like) desktops, such as Xorg and Wayland, where it remains an important part of handling fonts.[src] However, it is also sometimes used on other platforms, notably including Windows versions of software that use Pango for laying out and rendering text, such as GIMP.[src]

Fontconfig is a free software program library designed to provide configuration, enumeration and substitution of fonts to other programs.[src] Fontconfig was originally written and maintained by Keith Packard, and is currently maintained by Behdad Esfahbod.[src] Fontconfig is typically used on graphical Linux (and other Unix-like) desktops, such as Xorg and Wayland, where it remains an important part of handling fonts.[src] However, it is also sometimes used on other platforms, notably including Windows versions of software that use Pango for laying out and rendering text, such as GIMP.[src] ==Usage== End-users can use fontconfig, directly or indirectly, to customize and configure fonts on the system.[src] Applications can use fontconfig in two ways: by querying it for the available fonts on the system, or by querying it for a font matching certain parameters (comprising a pattern) as closely as possible.[src] To perform font matching, fontconfig stores typesetting information about all of the installed fonts, including the name of the font family, style, weight, dots per inch (DPI), and Unicode coverage.[src] This information is also used to perform font substitution.[src] ==Configuration== Fontconfig uses XML format for its configuration files.[src] The document type definition (DTD) for fontconfig files is normally located at /etc/fonts/fonts.dtd .[src] The master configuration file - usually /etc/fonts/fonts.conf - references a few other configuration locations which may or may not exist: /etc/fonts/fonts.conf /etc/fonts/conf.d $XDG_CONFIG_HOME/fontconfig/conf.d $XDG_CONFIG_HOME/fontconfig/fonts.conf ~/.fonts.conf.d ~/.fonts.conf A simple example of a configuration file: true ==Utilities== Fontconfig ships with eight command line utilities to manage and query fonts and the font configuration of the system: fc-list : Lists all fonts fontconfig knows about or all fonts matching a pattern.[src] fc-match : Matches font-pattern (empty pattern by default) using the normal fontconfig matching rules to find the most appropriate font available.[src] fc-cache : Creates a cache of all FreeType readable fonts in a specified directory or create a cache of all FreeType readable fonts from all directories specified in the configuration files.[src] fc-cat : Reads the font information from cache files or related to font directories and emits it in ASCII form.[src] fc-query : Querys font files and reports resulting pattern(s).[src] fc-scan : Scans font files and directories and reports resulting pattern(s).[src] fc-pattern : Lists best font(s) matching the supplied pattern(s).[src] fc-validate : Validate font file(s) and reports the results.[src] ==See also== FreeType X logical font description Xft ==References== ==External links== fontconfig website fontconfig manual Font Configuration and Customization for Open Source Systems (PDF)[src]

23 sentences · 23 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Fontconfig." encyclopegia.org, 2025, https://encyclopegia.org/wiki/fontconfig. Accessed 26 November 2026.

Chicago

"Fontconfig." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/fontconfig.

APA

encyclopegia.org. (2025). Fontconfig. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/fontconfig

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1304085257 · 0.5 · snapshot enwiki-001304085257

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.