Linux command
fslsfonts 命令
文件
复制后可按需替换文件名、目录或参数。
常用示例
List all fonts
fslsfonts
List fonts matching
fslsfonts -fn '[*-courier-*]'
Show long listing
fslsfonts -l
List from specific
fslsfonts -server [hostname:7100]
Show font columns
fslsfonts -C
说明
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.
参数
- -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.
FAQ
What is the fslsfonts command used for?
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.
How do I run a basic fslsfonts example?
Run `fslsfonts` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -fn _PATTERN_ do in fslsfonts?
XLFD pattern of fonts to list (defaults to \*).