Forrest logo
back to the fc-pattern tool

fc-pattern:tldr:a156a

fc-pattern: Display config information about a font.
$ fc-pattern --config '${DejaVu Serif}'
try on your machine

This command is using the fc-pattern tool to display the font pattern matching the given configuration.

The fc-pattern tool is a command-line utility in Linux used to query fontconfig for font configuration information. It helps in finding fonts that match specific patterns.

In this command, the --config option is used to specify the font pattern to be matched. However, the pattern is enclosed in single quotes ('${DejaVu Serif}') which indicates that it is a shell variable, not a direct pattern.

So, the command will display the font pattern that matches the configuration specified in the ${DejaVu Serif} shell variable. The actual configuration contained in the variable is not provided in the command and should be defined elsewhere in the script or environment.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the fc-pattern tool