unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "John P. Burkett" <burkett@uri.edu>
To: help-gnu-emacs@gnu.org
Subject: font missing
Date: Wed, 10 Jun 2009 22:16:53 -0400	[thread overview]
Message-ID: <4A306915.8070903@uri.edu> (raw)

I've been happily using emacs on a Gentoo-Linux machine for several
years.  The font I liked was specified in my .emacs file with the line
(set-default-font "10x20").
After a recent upgrade of Gentoo, this font specification did not work
as before.  Using the old .emacs file and doing "emacs --debug-init" now
produces a message that starts as follows:

Debugger entered--Lisp error: (void-variable no)
  eval-buffer(#<buffer  *load*> nil "/home/john/.emacs" nil t)  ;
Reading at buffer position 3358
  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."

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




             reply	other threads:[~2009-06-11  2:16 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-11  2:16 John P. Burkett [this message]
2009-06-11  9:36 ` font missing Peter Dyballa
2009-06-11 13:37   ` John P. Burkett
2009-06-11 15:06     ` Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4A306915.8070903@uri.edu \
    --to=burkett@uri.edu \
    --cc=help-gnu-emacs@gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).