Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137598 - Missing fonts when using X with app-editors/emacs
Summary: Missing fonts when using X with app-editors/emacs
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Emacs project
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 265117 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-22 08:24 UTC by Infogerance
Modified: 2009-04-07 10:33 UTC (History)
3 users (show)

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 Infogerance 2006-06-22 08:24:37 UTC
Installing Emacs with X support needs adding font paths to the Xorg.conf file.
The topic in the URL field I gave describes enough the situation:
If installing Emacs and using it in X, then it is not usable till adding font path to xorg.conf.
Because of this unusability under X, I made the bug major. It is though possible to use it just in "console mode" (out of X)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 09:14:55 UTC
Please, describe the problem here, not in forums. It's not much useful for other people that use bugzilla to search for solution to their problem.
Comment 2 Infogerance 2006-06-22 09:30:30 UTC
I have a big problem with emacs, in X mode.
Emacs displays only little squares. 

http://locataire-serveur.info/workspaces/members/mihamina/public/emacs

Here is my USE variable when compiling emacs:

USE="-kde firefox ipv6 java ldap mp3 msn ocaml python perl alsa quicktime sox threads win32codecs mplayer xine yahoo jabber zeo cdparanoia cups dvdread emacs ffmpeg gphoto2 gtk2 gtk  X -qt dvd alsa cdr dvdr ogg oggvorbis theora speex "

When running emacs in console mode, there is no problem.

I solved the problem by appending two lines to the FontPath section of the xorg.conf file:

        FontPath        "/usr/share/fonts/75dpi:unscaled"
        FontPath        "/usr/share/fonts/100dpi:unscaled" 

I would suggest (the Emacs ebuild maintainer) to patch the xorg.conf file in order to add these two lines if the "X" USE option is set.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 09:37:51 UTC
Ah. Hmmm, not really sure why you are missing them, those two lines definitely used to be there by default... ?
Comment 4 Donnie Berkholz (RETIRED) gentoo-dev 2006-06-22 10:42:52 UTC
In Gentoo, the user is expected to create his or her own xorg.conf. Thus, any problem concerning xorg.conf is considered a user configuration problem. The emacs team may want to provide einfo at the end of the install suggesting these font paths be added.
Comment 5 Infogerance 2006-06-22 14:41:22 UTC
Ok, we should at least suggest them to do so.
What's the way?
Comment 6 Matthew Kennedy (RETIRED) gentoo-dev 2006-08-20 22:09:08 UTC
I put a note in the app-editors/emacs and app-editors/emacs-cvs ebuilds that Emacs requires fonts (imagine that! ;-)
Comment 7 Ulrich Müller gentoo-dev 2009-04-06 23:00:25 UTC
*** Bug 265117 has been marked as a duplicate of this bug. ***