fc-genconf - Man Page

generate a configuration in XML format

Synopsis

fc-genconf [ -fgloVh ]  [ [ --family family ]  [ -f family ] ]  [ [ --generic genericfamily ]  [ -g genericfamily ] ]  [ [ --lang lang ]  [ -l lang ] ]  [ [ --output file ]  [ -o file ] ]  [ --version ]  [ --help ]

[ font path ]

Description

fc-genconf generates a configuration in XML format from font files where available on font path. Optional commandline options such as --family and --generic works as filter if fc-genconf could not fetch a meaningful value from a font metadata.

fc-genconf supports the generic alias rule and the language specific generic alias rule.

Options

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

-f

Restrict the target family to name in a font. This is particularly useful to generate a config for a certain family name in TTC font.

-g

Set a generic family name to generate a configuration for instead of the generic family name in the font metadata.

-l

Generate the language specific generic alias rule for. If multiple languages are supposed to be covered by this, simply set them multiple times as needed.

-o

Output a configuration into file. default is stdout.

-V

Show version of the program and exit.

-h

Show summary of options.

font-path

A font path where is going to generate a configuration for.

See Also

FcConfigFileGenerate(3)

The fontconfig user's guide <URL:https://fontconfig.pages.freedesktop.org/fontconfig/fontconfig-user.html>

Author

This manual page was updated by Akira TAGOH <akira@tagoh.org>.

Info

Nov 13, 2025