The xlsfonts client lists fonts available to you. It uses the fonts.dir and any fonts.alias files in the font search path to find the fonts. The XLFD name or the alias name is listed. Refer to “Using the XLFD Font Name ” for information about the XLFD name, and to “The fonts.alias File” for information about alias names.
The xlsfonts client has the following syntax:
where options are:
- -display host:display
The X server whose fonts you wish to list. The default is the requesting display.
- -l
Generate a medium listing.
- -ll
Generate a long listing.
- -lll
Generate a very long listing, showing individual character metrics.
- -m
Long listings should show minimum and maximum bounds of each font.
- -C
Multiple column listings. Same as -n 0.
- -1
Single column listings. Same as -n 1.
- -w width
Width in characters of each column. Default is 79.
- -n columns
Number of columns for listings.
- -u
Output is unsorted.
- -o
Use OpenFont and QueryFont rather than ListFonts.
- -fn pattern
xlsfonts will find all fonts that match this pattern. Wild cards may be used. If this option is not included xlsfonts lists all available fonts.
An example listing looks like this:
-adobe-courier-bold-o-normal--10-100-75-75-m-60-hp-roman8
-adobe-courier-bold-o-normal--12-120-75-75-m-70-hp-roman8
.
.
.
courb10
courb12
.
.
.
|
The first two lines show the fonts' XLFD names, and the second two lines show the file name aliases for those fonts.
If you have many fonts on your system, xlsfonts can produce a long list. If you want to check for a specific font, use the pattern matching capability of xlsfonts. Use wild cards to replace the parts you
are not trying to match. For instance, to see what scalable typefaces you have, type:
xlsfonts -fn "*-0-0-0-0-*" Return
|