I just finished a CLFS build, and got a comfortable system built on top of it, with firefox and my terminal environment. Anyway, xterm-229 is having problems with a correct configuration of fontconfig-2.4.2. With the <dir></dir> line(s) in my fonts.conf pointing to the correct font directory, xterm won't load any font other than fixed. If I take that line out, xterm will load fonts normally.
The problem of course is that programs that work correctly, like firefox, can't find their fonts unless fontconfig knows where to look for them, so my "fix" breaks firefox and most other GUI apps as well.
I should point out that xterm is at least verifying the name of the fonts, since it prints an error when I give a nonsense name, but not when I give a real one. For example:
% xterm -fn 8x16
% xterm -fn foobar
xterm: unable to open font "foobar", trying "fixed"....
Yet the first one is loading fixed anyway; it just isn't telling me about it.
I'd guess that without the <dir> line, xterm is falling back a non-fontconfig way of finding its fonts, which happens to be working.
I'm lost. Anyone have an idea?