Linux Command Library
commands
Commands
basic
Basic
tips
Tips

fc-list

list available fonts

- Return a list of installed fonts with given name:
fc-list | grep '[DejaVu Serif]'

fc-list [ -vVh ] [ --verbose ] [ [ -f format ] [ --format format ] ] [ [ -q ] [ --quiet ] ] [ --version ] [ --help ]

[ pattern [ element... ] ]

fc-list lists fonts and styles available on the system for applications using fontconfig. If any elements are specified, only those are printed. Otherwise family and style are printed, unless verbose output is requested.

This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.

-v
Print verbose output of the whole font pattern for each match, or elements if any is provided.
-f
Format output according to the format specifier format.
-q
Suppress all normal output. returns 1 as the error code if no fonts matched.
-V
Show version of the program and exit.
-h
Show summary of options.
pattern
If this argument is set, only fonts matching pattern are displayed.
element
If set, the element property is displayed for matching fonts.

fc-list
Lists all font faces.
fc-list :lang=hi
Lists font faces that cover Hindi.
fc-list : family style file spacing
Lists the filename and spacing value for each font face. ``:'' is an empty pattern that matches all fonts.

fc-match(1) FcFontList(3) FcPatternFormat(3) fc-cat(1) fc-cache(1) fc-pattern(1) fc-query(1) fc-scan(1)

The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.

This manual page was written by Keith Packard <keithp@keithp.com> and Josselin Mouette <joss@debian.org>.

play store download app store download
Imprint
Sonnenallee 29, 12047 Berlin, Germany
e-mail: sschubert89@gmail.com

Privacy policy
Successfully copied