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 a font installed (7x14, part of the xorg-fonts-miscbitmaps package), which I would like to use in my xterm. Problem is, X won't let me.

X seems to pick up the font dir:

# grep -A 3 FontPath /var/log/Xorg.0.log
(==) FontPath set to:

... but it doesn't show up inside X:

# xlsfonts | egrep "[0-9]+x[0-9]"

The /usr/local/lib/X11/fonts/misc folder contains a bunch of NxM-*.pcf.gz files, for various values of N and M. Only the 6x13 one seems to be useable, though.

How do I make the rest of the misc-fonts available?

share|improve this question

When you install a bitmap font, you need to run mkfontdir to register the font in the fonts.dir file. (This isn't specific to FreeBSD.) I would expect the package installation script to take care of that, but maybe this package didn't do it.

As a user who has permission to write to /usr/local/lib/X11/fonts/misc/, run mkfontdir /usr/local/lib/X11/fonts/misc/. Then tell your running X instance to reread the font list with xset fp rehash.

share|improve this answer
Thanks for replying! Running mkfontdir creates the file fonts.dir, containing a lot of lines, including a bunch of 7x14's. However, xlsfonts still only gives me the 6x13 one. – R. Vestergaard Jul 27 '11 at 21:02

The instructions miss the additional step of xset fp+ /usr/local/lib/X11/fonts/misc/. If the font.dir file is already there then you can skip the mkfontdir command.

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.