From: "John P. Burkett" <burkett@uri.edu>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] font missing
Date: Sat, 13 Jun 2009 10:09:33 -0400 [thread overview]
Message-ID: <4A33B31D.4020908@uri.edu> (raw)
After doing "emerge --depclean" on an amd64 machine, I find that Emacs
no longer locates the font it previously used. The font I liked was
specified in my .emacs file with the line
(set-default-font "10x20").
Using the old .emacs file and doing "emacs --debug-init" now
produces an error message that starts as follows::
Debugger entered--Lisp error: (error "Font `10x20' is not defined")
modify-frame-parameters(#<frame emacs@microway 0xf41280> ((font .
"10x20")))
set-default-font("10x20")
eval-buffer(#<buffer *load*> nil "/home/john/.emacs" nil t) ;
Reading at buffer position 3345
load-with-code-conversion("/home/john/.emacs" "/home/john/.emacs" t t)
load("~/.emacs" t t)
#[nil "
Doing "xlsfonts -l 10x20" at the Gentoo prompt elicits this response:
DIR MIN MAX EXIST DFLT PROP ASC DESC NAME
--> 0 255 some 0 23 15 5
-cronyx-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r
Interpreting this as a translation of the nickname 10x20 into the long
name, I edited my .emacs file, replacing
(set-default-font "10x20")
with
(set-default-font
"-cronyx-fixed-medium-r-normal--20-200-75-75-c-100-koi8-r")
With that change done, emacs starts without any error message. However,
the font is not quite the same as the old one. The old font had no
serifs except on the letters i and l, where they avoid confusion with
the number 1. The new font has serifs on most letters and, to my eye,
looks unnecessarily cluttered.
With emacs running, I tried holding down the shift key and clicking the
left mouse button. That as expected brought up a font menu. Selecting
"Misc 10x20" elicited the response "Font not found."
Comparing the font paths on the computer with the missing 10x20 font and
on a computer with no font problem, I see the paths starting with
/usr/share/fonts/misc are identical.
Nonetheless there is a difference in the results from doing "locate
10x20" on the two machines. I can "locate" the following misc/10x20
fonts on the machine where Emacs works well but not on the machine where
Emacs does not work well:
/usr/share/fonts/misc/10x20.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-1.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-2.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-3.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-4.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-5.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-7.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-8.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-9.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-10.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-11.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-13.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-14.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-15.pcf.gz
/usr/share/fonts/misc/10x20-ISO8859-16.pcf.gz
/usr/share/fonts/misc/10x20-KOI8-R.pcf.gz
Suggestions for recovering the old "10x20" font would be appreciated.
-John
--
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA
phone (401) 874-9195
next reply other threads:[~2009-06-13 14:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-13 14:09 John P. Burkett [this message]
2009-06-13 22:02 ` [gentoo-user] Re: font missing reader
2009-06-14 0:29 ` John P. Burkett
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A33B31D.4020908@uri.edu \
--to=burkett@uri.edu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox