Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have an X11 program that allows you to set a font. It apparently accepts the 'standard' X Logical Font Description. This notation is fairly obscure, and while the document I linked to mentions it, it doesn't actually describe the syntax. Is there some kind of font picking tool that will provide a list of valid fonts, and allow me to picket a font from the list, and specify the sizes and such, then print out this notation?

X Logical Font Description X11 core font instances are usually specified using a notation known as the X Logical Font Description (XLFD). An XLFD starts with a dash `-', and consists of fourteen fields separated by dashes, for example:


share|improve this question
The XLFD specification can be found at x.org/releases/current/doc along with a more up-to-date version of that old XFree86 doc you linked to. – alanc May 5 '12 at 2:32
up vote 7 down vote accepted

xfontsel lets you browse through the available X11 fonts and provides rendered previews so you can see what they actually look like. It's fairly plain-looking and basic but it is provided with most Xorg installations by default.

share|improve this answer

Look at xlsfonts, it can be used in scripts because it produces plain text output.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.