LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

fslsfonts

list fonts from X font server

TLDR

List all fonts
$ fslsfonts
copy
List fonts matching pattern
$ fslsfonts -fn '[*-courier-*]'
copy
Show long listing
$ fslsfonts -l
copy
List from specific server
$ fslsfonts -server [hostname:7100]
copy
Show font columns
$ fslsfonts -C
copy

SYNOPSIS

fslsfonts [options] [pattern]

DESCRIPTION

fslsfonts lists fonts available from X font servers. It queries the font server and displays matching font names in XLFD (X Logical Font Description) format.The tool helps identify available fonts for X applications. Patterns can match specific font families, weights, or sizes. Long format shows additional font properties.fslsfonts is the font server equivalent of xlsfonts for local X fonts.

PARAMETERS

PATTERN

Font pattern to match.
-fn PATTERN
XLFD pattern of fonts to list (defaults to \*).
-l
Long listing — show font properties. Repeat as -ll or -lll for progressively more detail.
-m
Include minimum and maximum character bounds in long listings.
-C
Multi-column output.
-1
Single-column output (one font per line).
-w WIDTH
Set the column width used by -C (default 79).
-n COLUMNS
Force the output to use COLUMNS columns (implies -C).
-u
Leave the output unsorted.
-server HOST:PORT
Query the named font server (e.g. tcp/host:7100, unix/:7100) instead of the FONTSERVER environment variable.

CAVEATS

Requires running X font server. XLFD patterns can be complex. Less relevant with modern fontconfig.

HISTORY

fslsfonts is part of the X Window System font server utilities. It queries xfs font servers, which were the standard way to share fonts across X terminals and workstations.

SEE ALSO

xlsfonts(1), xfs(1), fc-list(1)

Copied to clipboard
Kai