XLSFONTS(1)

๐ŸŒธ XLSFONTS(1) ๐ŸŒธ โ€” list fonts available to X server

okay bestie, welcome to xlsfonts(1) from X Version 11 ๐Ÿ’… this is the little icon that lists fonts available to an X server, and it is genuinely so useful.


โœจ NAME โœจ

xlsfonts โ€” list fonts available to X server ๐ŸŽ€


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

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

๐Ÿ’– DESCRIPTION ๐Ÿ’–

xlsfonts lists the fonts available on an X server that match the given pattern. The wildcard character * may be used to match any sequence of characters (including none), and ? to match any single character. If no pattern is given, * is assumed, no cap.

The * and ? characters must be quoted to prevent them from being expanded by the shell. fr fr, protect them from your shell before they ever reach xlsfonts ๐Ÿซถ


๐Ÿ’… OPTIONS ๐Ÿ’…

  • -display host:dpy โ€” specifies the X server to contact. main character server energy โœจ
  • -d host:dpy โ€” same as -display host:dpy. cute little shortcut ๐ŸŽ€
  • -l โ€” lists some attributes of the font on one line in addition to its name. the classic โ€œgive me a little more teaโ€ mode โ˜•
  • -ll โ€” lists font properties in addition to -l output. yes, more info, more slay ๐Ÿ’–
  • -lll โ€” lists character metrics in addition to -ll output. we are fully locked in now ๐Ÿ”ฅ
  • -m โ€” indicates that long listings should also print the minimum and maximum bounds of each font. bounds bestie, bounds ๐Ÿ’€
  • -C โ€” indicates that listings should use multiple columns. this is the same as -n 0 ๐Ÿฆ‹
  • -1 โ€” indicates that listings should use a single column. this is the same as -n 1 ๐ŸŒธ
  • -w width โ€” specifies the width in characters that should be used in figuring out how many columns to print. the default is 79 ๐Ÿ‘‘
  • -n columns โ€” specifies the number of columns to use in displaying the output. by default, it will attempt to fit as many columns of font names as possible into the number of characters specified by -w width ๐ŸŒˆ
  • -u โ€” indicates that the output should be left unsorted. chaotic and free, we respect it ๐Ÿ™ˆ
  • -o โ€” 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 โ€” specifies the font name pattern to match. pattern-matching era ๐Ÿ’œ
  • -v โ€” indicates that xlsfonts should print out the program version and exit. quick lil version check and then bye ๐Ÿ‘‹

๐Ÿ‘€ SEE ALSO ๐Ÿ‘€


๐ŸŒ ENVIRONMENT ๐ŸŒ

  • DISPLAY โ€” the default host and display to use if neither -d or -display are specified. the fallback bestie ๐Ÿ’ซ

๐Ÿ’€ BUGS ๐Ÿ’€

Doing xlsfonts -l can tie up your X server for a very long time. This is really a bug with single-threaded non-preemptable servers, not with this program. periodt ๐Ÿ’… not our fave, but the facts are the facts ๐Ÿ˜ญ


๐Ÿ‘‘ AUTHOR ๐Ÿ‘‘

  • Mark Lillibridge
  • Jim Fulton
  • Phil Karlton
  • Roland Mainz

thatโ€™s the whole page, bestie: xlsfonts 1.0.9, dated 2022-09-10. byeee ๐Ÿ’–

๐Ÿ“ฆ where this page comes from