You are not logged in.

#1 2007-05-05 11:28:46

Weeks
Member
Registered: 2006-01-26
Posts: 91

[solved] Emacs in X windows - Characters are not displayed

Emacs works fine when run with -nw.

But when I run it without, in X Windows, emacs does not display characters properly. It just displays those whites boxes with the black borders. The ones you see when you're trying to view characters for which you don't have the right font.

I installed XEmacs, and that worked fine. I don't understand why the normal Emacs doesn't.

I'll post a screenshot when I'm home from work, but you should get the gist of the problem.

Last edited by Weeks (2007-05-05 23:18:59)

Offline

#2 2007-05-05 14:00:56

nv
Member
Registered: 2006-10-24
Posts: 39

Re: [solved] Emacs in X windows - Characters are not displayed

I had the same problem once.

If I remember correctly, you need to install some more fonts. Try

pacman -S xorg-fonts-100dpi

.

Offline

#3 2007-05-05 23:08:20

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: [solved] Emacs in X windows - Characters are not displayed

Yeah I figured that out when I got back home. It was my own fault for running emacs from Run Program in xfce instead of from the Terminal.

However, I've installed that package along with the 75dpi one and it still doesn't work. I even ran fc-cache again just to be sure. Weird.

The error is "Warning: Cannot convert string "-*-courier-medium-r-*-*-*-120-*-*-*-*-iso8859-*" to type FontStruct" So perhaps it's a fontconfig problem. Both fontconfig and freetype2 as up-to-date. Hmm.

[EDIT] I restared X and everything worked. Thanks. I've updated the wiki with the information. I'll send a diff to the maintainer at some point; the PKGBUILD should really tell the user that he/she needs to install these fonts if using X windows

Last edited by Weeks (2007-05-05 23:32:05)

Offline

#4 2007-05-07 15:01:10

Lord_Bad
Member
Registered: 2005-04-17
Posts: 54

Re: [solved] Emacs in X windows - Characters are not displayed

That is an old issue - it goes back at least 2 years, maybe more. I can't understand why these fonts are still not considered a dependency.

Offline

#5 2007-05-07 17:13:29

nv
Member
Registered: 2006-10-24
Posts: 39

Re: [solved] Emacs in X windows - Characters are not displayed

I wrote a bug report: http://bugs.archlinux.org/task/7091

Offline

#6 2007-05-08 11:46:50

Weeks
Member
Registered: 2006-01-26
Posts: 91

Re: [solved] Emacs in X windows - Characters are not displayed

Lord_Bad wrote:

That is an old issue - it goes back at least 2 years, maybe more. I can't understand why these fonts are still not considered a dependency.

For people only using console mode only it's not the case.

Offline

Board footer

Powered by FluxBB