Gentoo Archives: gentoo-user

From: "John P. Burkett" <burkett@×××.edu>
To: gentoo-user@l.g.o
Subject: [gentoo-user] font missing
Date: Sat, 13 Jun 2009 14:10:25
Message-Id: 4A33B31D.4020908@uri.edu
1 After doing "emerge --depclean" on an amd64 machine, I find that Emacs
2 no longer locates the font it previously used. The font I liked was
3 specified in my .emacs file with the line
4 (set-default-font "10x20").
5 Using the old .emacs file and doing "emacs --debug-init" now
6 produces an error message that starts as follows::
7
8 Debugger entered--Lisp error: (error "Font `10x20' is not defined")
9 modify-frame-parameters(#<frame emacs@microway 0xf41280> ((font .
10 "10x20")))
11 set-default-font("10x20")
12 eval-buffer(#<buffer *load*> nil "/home/john/.emacs" nil t) ;
13 Reading at buffer position 3345
14 load-with-code-conversion("/home/john/.emacs" "/home/john/.emacs" t t)
15 load("~/.emacs" t t)
16 #[nil "
17
18 Doing "xlsfonts -l 10x20" at the Gentoo prompt elicits this response:
19 DIR MIN MAX EXIST DFLT PROP ASC DESC NAME
20 --> 0 255 some 0 23 15 5
21 -cronyx-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r
22
23 Interpreting this as a translation of the nickname 10x20 into the long
24 name, I edited my .emacs file, replacing
25 (set-default-font "10x20")
26 with
27 (set-default-font
28 "-cronyx-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r")
29
30 With that change done, emacs starts without any error message. However,
31 the font is not quite the same as the old one. The old font had no
32 serifs except on the letters i and l, where they avoid confusion with
33 the number 1. The new font has serifs on most letters and, to my eye,
34 looks unnecessarily cluttered.
35
36 With emacs running, I tried holding down the shift key and clicking the
37 left mouse button. That as expected brought up a font menu. Selecting
38 "Misc 10x20" elicited the response "Font not found."
39
40 Comparing the font paths on the computer with the missing 10x20 font and
41 on a computer with no font problem, I see the paths starting with
42 /usr/share/fonts/misc are identical.
43
44 Nonetheless there is a difference in the results from doing "locate
45 10x20" on the two machines. I can "locate" the following misc/10x20
46 fonts on the machine where Emacs works well but not on the machine where
47 Emacs does not work well:
48
49 /usr/share/fonts/misc/10x20.pcf.gz
50 /usr/share/fonts/misc/10x20-ISO8859-1.pcf.gz
51 /usr/share/fonts/misc/10x20-ISO8859-2.pcf.gz
52 /usr/share/fonts/misc/10x20-ISO8859-3.pcf.gz
53 /usr/share/fonts/misc/10x20-ISO8859-4.pcf.gz
54 /usr/share/fonts/misc/10x20-ISO8859-5.pcf.gz
55 /usr/share/fonts/misc/10x20-ISO8859-7.pcf.gz
56 /usr/share/fonts/misc/10x20-ISO8859-8.pcf.gz
57 /usr/share/fonts/misc/10x20-ISO8859-9.pcf.gz
58 /usr/share/fonts/misc/10x20-ISO8859-10.pcf.gz
59 /usr/share/fonts/misc/10x20-ISO8859-11.pcf.gz
60 /usr/share/fonts/misc/10x20-ISO8859-13.pcf.gz
61 /usr/share/fonts/misc/10x20-ISO8859-14.pcf.gz
62 /usr/share/fonts/misc/10x20-ISO8859-15.pcf.gz
63 /usr/share/fonts/misc/10x20-ISO8859-16.pcf.gz
64 /usr/share/fonts/misc/10x20-KOI8-R.pcf.gz
65
66 Suggestions for recovering the old "10x20" font would be appreciated.
67
68 -John
69
70 --
71 John P. Burkett
72 Department of Economics
73 University of Rhode Island
74 Kingston, RI 02881-0808
75 USA
76
77 phone (401) 874-9195

Replies

Subject Author
[gentoo-user] Re: font missing reader@×××××××.com