1 |
I ran into this issue just now setting up X on my ancient netbook that |
2 |
I've just re-installed on. It's been an ongoing issue of mine that I've |
3 |
solved with an ugly hack. I'd like to know "the right way" of doing it. |
4 |
I have a ~/.xinitrc file like so... |
5 |
|
6 |
#!/bin/bash |
7 |
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources /usr/bin/xterm -bg black -fg cyan -geometry 50x9+0+0 -fn lucidasanstypewriter-12 & |
8 |
/usr/bin/xterm -bg black -fg cyan -geometry +0+0 -fn lucidasanstypewriter-12 & |
9 |
exec /usr/bin/icewm > ~/.icewm.log 2>&1 |
10 |
|
11 |
Some time ago, somebody decided to deprecate iso8859-1 fonts. And |
12 |
when I run startx, the text console comes up with |
13 |
|
14 |
======================================================================== |
15 |
/usr/bin/xterm: cannot load font 'lucidasanstypewriter' |
16 |
/usr/bin/xterm: cannot load font 'lucidasanstypewriter' |
17 |
Warning: Cannot convert string "lucidasanstypewriter" to type FontStruct |
18 |
Warning: Unable to load any usable ISO8859 font |
19 |
Warning: Unable to load any usable ISO8859 font |
20 |
Error: Aborting: no font found |
21 |
|
22 |
Warning: Cannot convert string "lucidasanstypewriter" to type FontStruct |
23 |
Warning: Unable to load any usable ISO8859 font |
24 |
Warning: Unable to load any usable ISO8859 font |
25 |
Error: Aborting: no font found |
26 |
======================================================================== |
27 |
|
28 |
xterms come up with some dinky little font. It's bad enough on a 24 |
29 |
in 1920x1080 monitor. On an 11" 1366x768 netbook, it's unreadable. |
30 |
When I do a control-right-click on an xterm to manipulate fonts, the |
31 |
xterm crashes. |
32 |
|
33 |
One of the nice things about having multiple machines, is that I still |
34 |
had another machine with the old fonts. For a few years, I've preserved |
35 |
a copy of /usr/share/fonts from that machine as fonts_do_not_delete. So |
36 |
each time fonts are "updated" on my machines, I rename /usr/share/fonts |
37 |
to /usr/share/fonts.borken and copy the fonts_do_not_delete directory as |
38 |
/usr/share/fonts. |
39 |
|
40 |
OK, so whats supposed to be "the right way" to get working xterms with |
41 |
lucidasanstypewriter-12? |
42 |
|
43 |
-- |
44 |
Walter Dnes <waltdnes@××××××××.org> |
45 |
I don't run "desktop environments"; I run useful applications |