Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 152845

Summary: Emacs does not display text or fonts
Product: Gentoo Linux Reporter: Richard Donkin <richbugzilla>
Component: Current packagesAssignee: Emacs project <emacs>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
URL: http://ryanjoebag.blogspot.com
Whiteboard:
Package list:
Runtime testing required: ---

Description Richard Donkin 2006-10-25 23:25:15 UTC
User-Agent:       Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; InfoPath.1)
Build Identifier: 

When I emerge emacs with the USE="X" it compiles without errors. However, when 
I run the program under X, fonts are not displayed at all. Instead, little 
blocks are shown as if no fonts are known. Please see ryanjoebag.blogspot.com 
for an uploaded snapshot of an example of the error.

Reproducible: Always

Steps to Reproduce:
1. Emerge emacs on amd64, making sure X is in the USE flags.
2. Run emacs under X.
3.

Actual Results:  
Blocks are displayed instead of characters.

Expected Results:  
Displayed readable text.

I'm using gcc-4.1.1 and xorg 7.1 .
Let me know what else you need to know: I'm not quite sure what's relevant.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2006-10-26 08:56:54 UTC
From the ebuild's pkg_postinst(), you should have seen the following message fly up your screen:

"You need to install some fonts for Emacs.  Under monolithic
XFree86/Xorg you typically had such fonts installed by default.	 With
modular Xorg, you will have to perform this step yourself.

Installing media-fonts/font-adobe-{75,100}dpi would satisfy basic
Emacs requirements under X11."


We could install a font by default, but which one would it be.
Comment 2 Richard Donkin 2006-10-26 20:23:20 UTC
(In reply to comment #1)

Thanks. I probably just missed the message because emacs was one in a string of packages I emerged. Perhaps in a future version of portage the messages can all be displayed at the end or saved to a log file and viewed with "less" or something, to prevent this kind of user oversight?

Anyway, bug resolved.
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-10-27 04:52:14 UTC
(In reply to comment #2)
> Perhaps in a future version of portage the messages can all
> be displayed at the end or saved to a log file and viewed with "less" or
> something, to prevent this kind of user oversight?

 Portage already has that feature since version 2.1.  There are some tools to watch the elogs (kelogviewer, elogviewer (GTK+) and elogv (ncurses)), all in Sunrise Overlay (see http://www.larrythecow.net/index.php?name=News&file=article&sid=92 how to use Sunrise).  The ebuild has some explanations how to enable ELOG in Portage.