The problem occurs as "enriched" is loading; here is a backtrace of
M-x load-library enriched.el.
Signalling: (error "No italic version of \"fixed\"")
signal(error ("No italic version of \"fixed\""))
error("No italic version of %S" "fixed")
make-face-italic(excerpt #<frame emacs@light 0x207e00> nil)
make-face-italic(excerpt)
(if window-system (make-face-italic (quote excerpt)))
(if (internal-find-face (quote excerpt)) nil (make-face (quote excerpt)) (if window-system (make-face-italic ...)))
load("enriched.el")
load-library("enriched.el")
call-interactively(load-library)
execute-extended-command(nil)
call-interactively(execute-extended-command)
I have this problem on both hosts that I tried, both compiled with GCC
2.7.0 and configured --with-gcc --with-x-toolkit=athena
--x-includes=/usr/openwin/include --x-libraries=/usr/openwin/lib.
The hosts are:
SunOS 4.1.4 (sparc)
Solaris 2.4 (sparc)
I ran `emacs -q'. My ~/.Xdefaults contains:
#if WIDTH == 1600
Emacs.geometry: 80x80+0+186
#else
Emacs.geometry: 80x65
#endif
Emacs.font: fixed
but I get a similar problem with some other font even if I remove
those lines.
It is not dead. You may have to select a different default font, though.
OK. Here are a few problems I ran into while trying this.
1. I first tried to visit etc/enriched.doc with a default font being
unsuitable ("fixed"). I got a message at the bottom line saying
No italic version of "-Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO
(it was truncated at right end of screen). That message is a little
hard for a novice user to follow.
Perhaps visit-file could revert to non-enriched mode if enriched mode
fails. At least that way the user could read the text parts of the file.
2. I next used Control-Left-Mouse to select Courier 12, a font that
supports enriched mode, and attempted to visit the same file again.
This time the visit operation succeeded, but the buffer was left in
fundamental mode, so that I saw a buffer that looked like this:
Content-Type: text/enriched
Text-Width: 70
<center><x-bg-color><param>blue...
The buffer should have been put into enriched mode.
3. I restarted Emacs, used Control-Left-Mouse to select Courier 12,
and then visited etc/enriched.doc. This worked fine. But I then used
Control-Left-Mouse to select Courier 10. This didn't work as well:
the italic letters seemed to be about the same size as with Courier
12, but they were often displayed into space that seemed about right
for Courier 10, which meant that the last few letters of each such
phrase were truncated. This happened to most of the italicized
material, but it did not happen to the phrase ``For quoted material.''
or to the excerpt.
An extreme case of this problem can be found by switching from Courier
24 to Courier 8; the italic text remains in Courier 24.