Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89790 - Emacs will not run from command line; claims a font not found
Summary: Emacs will not run from command line; claims a font not found
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-20 04:49 UTC by Stephen
Modified: 2006-08-08 21:42 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen 2005-04-20 04:49:39 UTC
I installed Emacs on a new install of Gentoo and even followed the X.org font HOWTO on the gentoo wiki, but everytime I try to start Emacs up from an xterm or the like, I get the following error: "No fonts match `-misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1Xft.dpi: 96'"
I have installed all gentoo font packages.

When I start emacs from the Desktop Environment application menu (I am using XFCE4) it works.

I have attempted to reinstall Emacs to no avail. I have been able to reproduce the problem everytime, but to reproduce it on another computer, you would most likely have something similar to my install. If I knew how to reproduce this bug, I could fix it.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.
Comment 1 Stephen 2005-04-25 18:07:07 UTC
It seems now that it when I run emacs, somehow some program is adding "Xft.antialias: 1" to the name of the font in my .Xdefaults. It added "Xft.dpi" before I turned antialiasing on.
Comment 2 Stephen 2005-04-25 18:40:17 UTC
When the /usr/bin/emacs is changed to /usr/bin/emacs.e or anything besides "emacs", it works flawlessly.
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2005-05-03 02:13:14 UTC
So it looks like X resource problem rather than Emacs.
Could you check what program is adding "Xft.antialias: 1"?
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-08 21:42:44 UTC
It looks like:

  -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso8859-1Xft.dpi: 96

is gibberish ;-)  Check your .Xresources, the Xft.dpi: 96 should be a separate line.