LinuxCommandLibrary

fc-pattern

TLDR

Parse font pattern

$ fc-pattern "[pattern]"
copy
Show default pattern
$ fc-pattern --default [pattern]
copy
Configure pattern
$ fc-pattern --config [pattern]
copy
Custom format output
$ fc-pattern --format "%{family}" [pattern]
copy

SYNOPSIS

fc-pattern [options] [pattern]

DESCRIPTION

fc-pattern parses and displays fontconfig patterns. Shows how fontconfig interprets font matching patterns. Useful for debugging font configuration.

PARAMETERS

-d, --default

Apply default substitutions.
-c, --config
Apply config substitutions.
--format format
Custom output format.

SEE ALSO

fc-match(1), fc-list(1)

Copied to clipboard