Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Thursday, June 13, 2019

xlsfonts (1)


xlsfonts - server font list displayer for X


xlsfonts [-display host:dpy] [-l] [-ll] [-lll] [-m] [-C] [-1] [-w
width] [-n columns] [-u] [-o] [-fn pattern] [-v]


xlsfonts(1)                 General Commands Manual                xlsfonts(1)

       xlsfonts - server font list displayer for X

       xlsfonts [-display host:dpy] [-l] [-ll] [-lll] [-m] [-C] [-1] [-w
       width] [-n columns] [-u] [-o] [-fn pattern] [-v]

       xlsfonts lists the fonts that match the given pattern.  The wildcard
       character "*" may be used to match any sequence of characters (includ-
       ing none), and "?" to match any single character.  If no pattern is
       given, "*" is assumed.

       The "*" and "?" characters must be quoted to prevent them from being
       expanded by the shell.

       -display host:dpy
              This option specifies the X server to contact.

       -d host:dpy
              Same as -display host:dpy.

       -l     Lists some attributes of the font on one line in addition to its

       -ll    Lists font properties in addition to -l output.

       -lll   Lists character metrics in addition to -ll output.

       -m     This option indicates that long listings should also print the
              minimum and maximum bounds of each font.

       -C     This option indicates that listings should use multiple columns.
              This is the same as -n 0.

       -1     This option indicates that listings should use a single column.
              This is the same as -n 1.

       -w width
              This option specifies the width in characters that should be
              used in figuring out how many columns to print.  The default is

       -n columns
              This option specifies the number of columns to use in displaying
              the output. By default, it will attempt to fit as many columns
              of font names into the number of character specified by -w

       -u     This option indicates that the output should be left unsorted.

       -o     This option indicates that xlsfonts should do an OpenFont (and
              QueryFont, if appropriate) rather than a ListFonts.  This is
              useful if ListFonts or ListFontsWithInfo fail to list a known
              font (as is the case with some scaled font systems).

       -fn pattern
              This option specifies the font name pattern to match.

       -v     This option indicates that xlsfonts should print out the program
              version and exit.

       See attributes(7) for descriptions of the following attributes:

       |ATTRIBUTE TYPE |        ATTRIBUTE VALUE          |
       |Availability   | x11/diagnostic/x11-info-clients |
       |Stability      | Volatile                        |
       X(7), Xserver(1), xset(1), xfd(1), X Logical Font Description Conven-

              DISPLAY must be set to get the default host and display to use.

       Doing ``xlsfonts -l'' can tie up your server for a very long time.
       This is really a bug with single-threaded non-preemptable servers, not
       with this program.

       Mark Lillibridge

       Jim Fulton

       Phil Karlton

       Roland Mainz

       This software was built from source available at
       https://github.com/oracle/solaris-userland.  The original community
       source was downloaded from  ['https://www.x.org/releases/individ-
       ual/app/xdpyinfo-1.3.2.tar.bz2', 'https://www.x.org/releases/individ-
       ual/app/xdriinfo-1.0.6.tar.bz2', 'https://www.x.org/releases/individ-
       ual/app/xlsclients-1.1.4.tar.bz2', 'https://www.x.org/releases/individ-
       ual/app/xwininfo-1.1.4.tar.bz2', 'https://www.x.org/releases/individ-
       ual/app/xlsfonts-1.0.6.tar.bz2', 'https://www.x.org/releases/individ-
       ual/app/xvinfo-1.1.3.tar.bz2', 'https://www.x.org/releases/individ-

       Further information about this software can be found on the open source
       community website at https://www.x.org.

X Version 11                    xlsfonts 1.0.6                     xlsfonts(1)