On 16.03.2010 13:14, Joachim Breitner wrote:
so, you do not have xfonts-base installed when the error occurs, and the
error disappears if you install that package, right?
Yes.
Does this mean that
$ xfontsel -pattern "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
says "no names match"?
Oh... I don't understand anything anymore.
Without xfonts-base:
% xlsfonts | grep fixed
-misc-fixed-medium-r-semicondensed--0-0-75-75-c-0-iso8859-1
-misc-fixed-medium-r-semicondensed--13-100-100-100-c-60-iso8859-1
-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1
fixed
%
BUT:
% xlsfonts -fn "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
-misc-fixed-medium-r-semicondensed--10-72-100-100-c-0-iso8859-1
and
% xfontsel -pattern "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
says: "1 name matches"
BUT:
% xterm -fn "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
Warning: Cannot convert string "nil2" to type FontStruct
xterm: cannot load font -misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*
xterm: cannot load font -misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*
I've doublechecked this in clear X (without any window managed).
I remove xfonts-base with --purge
With installed xfonts-base:
% xfontsel -pattern "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
says: "140 names matches"
% xlsfonts -fn "-misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*" | wc -l
140
and xterm doesn't say any error
Looks like that this is not only xmonad error.
I think that a "fixed" font should be available on all systems, so I
think adding xfont-base to the depends of libghc6-xmonad-contrib-dev (or
xmonad) is the correct thing to do. But then, people can have a font
server... maybe a Recommends would do.
fixed font is available without xfonts-base package.
On the one hand xmonad work improperly without xfont-base and should
depend on it. On the other hand xmonad can work (I hope) without
xfont-base, because fonts can be redefined in user config (hope I'm
right) and so it should not depend on xfont-base.
Really I think, that if xmonad will depend on xfont-base it will be
strange, because xmonad can work well without it. But it should
recommend or suggest it.
But the main, that xmonad must, is explain whats wrong.
For example like xterm does:
"cannot load font -misc-fixed-*-*-*-*-10-*-*-*-*-*-*-*"
--
sergio.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]