I ran into this issue just now setting up X on my ancient netbook that
I've just re-installed on.  It's been an ongoing issue of mine that I've
solved with an ugly hack.  I'd like to know "the right way" of doing it.
I have a ~/.xinitrc file like so...

#!/bin/bash
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources /usr/bin/xterm -bg black 
-fg cyan -geometry 50x9+0+0 -fn lucidasanstypewriter-12 &
/usr/bin/xterm -bg black -fg cyan -geometry +0+0 -fn lucidasanstypewriter-12 &
exec /usr/bin/icewm > ~/.icewm.log 2>&1

  Some time ago, somebody decided to deprecate iso8859-1 fonts.  And
when I run startx, the text console comes up with

========================================================================
/usr/bin/xterm: cannot load font 'lucidasanstypewriter'
/usr/bin/xterm: cannot load font 'lucidasanstypewriter'
Warning: Cannot convert string "lucidasanstypewriter" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Error: Aborting: no font found

Warning: Cannot convert string "lucidasanstypewriter" to type FontStruct
Warning: Unable to load any usable ISO8859 font
Warning: Unable to load any usable ISO8859 font
Error: Aborting: no font found
========================================================================

  xterms come up with some dinky little font.  It's bad enough on a 24
in 1920x1080 monitor.  On an 11" 1366x768 netbook, it's unreadable.
When I do a control-right-click on an xterm to manipulate fonts, the
xterm crashes.

  One of the nice things about having multiple machines, is that I still
had another machine with the old fonts.  For a few years, I've preserved
a copy of /usr/share/fonts from that machine as fonts_do_not_delete.  So
each time fonts are "updated" on my machines, I rename /usr/share/fonts
to /usr/share/fonts.borken and copy the fonts_do_not_delete directory as
/usr/share/fonts.

  OK, so whats supposed to be "the right way" to get working xterms with
lucidasanstypewriter-12?

-- 
Walter Dnes <waltd...@waltdnes.org>
I don't run "desktop environments"; I run useful applications

Reply via email to