* [gentoo-user] font missing
@ 2009-06-13 14:09 John P. Burkett
2009-06-13 22:02 ` [gentoo-user] " reader
0 siblings, 1 reply; 3+ messages in thread
From: John P. Burkett @ 2009-06-13 14:09 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-user] Re: font missing
2009-06-13 14:09 [gentoo-user] font missing John P. Burkett
@ 2009-06-13 22:02 ` reader
2009-06-14 0:29 ` John P. Burkett
0 siblings, 1 reply; 3+ messages in thread
From: reader @ 2009-06-13 22:02 UTC (permalink / raw
To: gentoo-user
"John P. Burkett" <burkett@uri.edu> writes:
> Suggestions for recovering the old "10x20" font would be appreciated.
I had the same problem but was able to view from an old backup of var
in a previous OS install what was installed.
It showed 38 packages.... I'd also like to know what specific fonts
are in which package.
But I just installed a few from the list.
This is a guess but I think it was
media-fonts/font-sony-misc that supplied the missing 10x20 and mine
was also missing 9x15.
Be warned that the above pkg is JUST a GUESS... since I installed
several pkgs and found no way to really tell what is in them.
Even equery files <font-pkg> doesn't tell you since the naming
apparently changes somewhere between files installed and actual fonts
available.
The entire list I now have installed is listed below in case the guess
above is wrong. One in that bunch has it. Look in:
/var/db/pkg/media-fonts to see what is already installed.
Severl of those listed below will almost certainly be there. So maybe
it will narrow it down for you a bit.
===================================================
font-misc-meltho-1.0.0
font-sony-misc-1.0.0
font-adobe-100dpi-1.0.0
font-misc-misc-1.0.0
font-sun-misc-1.0.0
font-adobe-75dpi-1.0.0
font-mutt-misc-1.0.0
font-util-1.0.1
font-alias-1.0.1
font-schumacher-misc-1.0.0
gnu-gs-fonts-std-8.11
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Re: font missing
2009-06-13 22:02 ` [gentoo-user] " reader
@ 2009-06-14 0:29 ` John P. Burkett
0 siblings, 0 replies; 3+ messages in thread
From: John P. Burkett @ 2009-06-14 0:29 UTC (permalink / raw
To: gentoo-user
reader@newsguy.com wrote:
> "John P. Burkett" <burkett@uri.edu> writes:
>
>> Suggestions for recovering the old "10x20" font would be appreciated.
>
> I had the same problem but was able to view from an old backup of var
> in a previous OS install what was installed.
>
> It showed 38 packages.... I'd also like to know what specific fonts
> are in which package.
>
> But I just installed a few from the list.
>
> This is a guess but I think it was
> media-fonts/font-sony-misc that supplied the missing 10x20 and mine
> was also missing 9x15.
>
> Be warned that the above pkg is JUST a GUESS... since I installed
> several pkgs and found no way to really tell what is in them.
>
> Even equery files <font-pkg> doesn't tell you since the naming
> apparently changes somewhere between files installed and actual fonts
> available.
>
>
> The entire list I now have installed is listed below in case the guess
> above is wrong. One in that bunch has it. Look in:
>
> /var/db/pkg/media-fonts to see what is already installed.
>
> Severl of those listed below will almost certainly be there. So maybe
> it will narrow it down for you a bit.
>
> ===================================================
> font-misc-meltho-1.0.0
> font-sony-misc-1.0.0
> font-adobe-100dpi-1.0.0
> font-misc-misc-1.0.0
> font-sun-misc-1.0.0
> font-adobe-75dpi-1.0.0
> font-mutt-misc-1.0.0
> font-util-1.0.1
> font-alias-1.0.1
> font-schumacher-misc-1.0.0
> gnu-gs-fonts-std-8.11
>
Thank you very much for your helpful response. Emerging font-misc-misc
solved the problem for me. :-)
Best regards,
John
--
John P. Burkett
Department of Economics
University of Rhode Island
Kingston, RI 02881-0808
USA
phone (401) 874-9195
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-06-14 0:30 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-13 14:09 [gentoo-user] font missing John P. Burkett
2009-06-13 22:02 ` [gentoo-user] " reader
2009-06-14 0:29 ` John P. Burkett
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox