← 返回命令列表

Linux command

fc-list 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

List all fonts

fc-list

List fonts matching pattern

fc-list : family style | sort

Find specific font

fc-list | grep -i "[arial]"

List monospace fonts

fc-list :spacing=mono family

Show font file paths

fc-list : file family

List fonts with specific style

fc-list :style=Bold

List fonts by language

fc-list :lang=[zh]

说明

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.

参数

-v, --verbose
Verbose output with all properties.
-f _format_
Custom output format.
-q, --quiet
Suppress normal output.
--version
Show version.

FAQ

What is the fc-list command used for?

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.

How do I run a basic fc-list example?

Run `fc-list` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -v, --verbose do in fc-list?

Verbose output with all properties.