LinuxCommandLibrary

fc-list

list available fonts

TLDR

List all fonts

$ fc-list
copy
List fonts matching pattern
$ fc-list : family style | sort
copy
Find specific font
$ fc-list | grep -i "[arial]"
copy
List monospace fonts
$ fc-list :spacing=mono family
copy
Show font file paths
$ fc-list : file family
copy
List fonts with specific style
$ fc-list :style=Bold
copy
List fonts by language
$ fc-list :lang=[zh]
copy

SYNOPSIS

fc-list [options] [pattern] [elements]

DESCRIPTION

fc-list lists fonts available to applications using fontconfig. It displays font family names, styles, file locations, and other properties.
The command is essential for discovering installed fonts, finding font file paths, and verifying font installation. It queries the fontconfig database which caches font information.

PARAMETERS

-v, --verbose

Verbose output with all properties.
-f format
Custom output format.
-q, --quiet
Suppress normal output.
--version
Show version.
pattern
Font matching pattern.
elements
Properties to display: family, style, file, etc.

CAVEATS

Output can be long; pipe to grep or sort. Font names may vary by language. Newly installed fonts need `fc-cache -fv`. Some applications cache fonts independently.

HISTORY

fc-list is part of fontconfig, created by Keith Packard around 2000 to provide system-wide font configuration for X11 and other systems. It replaced the older X font system with a more flexible, file-based approach.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community