| View previous topic :: View next topic |
| Author |
Message |
uberkermitt Tux's lil' helper

Joined: 05 Mar 2005 Posts: 107
|
Posted: Sat Jul 15, 2006 7:52 pm Post subject: Emacs square box fonts - modular X? [SOLVED] |
|
|
Hey all, I recently upgraded to modular X, and since then (though it might not be the cause of the problem), I have got this weird thing going on with Emacs. I tried rebuilding Emacs, but its the same problem. Have a look at an image of my Emacs in action. Also, if it is of any help, my xorg.conf, and my emerge --info.
I am hoping this is a simple fix - I like to have Emacs available for use.
edit:: just adding some text for people searching..
My emacs displays a bunch of little square boxes
Last edited by uberkermitt on Thu Jul 20, 2006 12:25 am; edited 1 time in total |
|
| Back to top |
|
 |
Philantrop Retired Dev

Joined: 21 Dec 2004 Posts: 1129 Location: Germany
|
Posted: Sat Jul 15, 2006 9:01 pm Post subject: |
|
|
You seem to have updated to modular X.org X11 7.1 which causes problems with the proprietary NVidia drivers when rendering fonts.
The solution is to downgrade to 7.0. Read this thread for more information: >=xorg-server-1.0.99 blocks nvidia/ati binary drivers _________________ If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting. |
|
| Back to top |
|
 |
uberkermitt Tux's lil' helper

Joined: 05 Mar 2005 Posts: 107
|
Posted: Sat Jul 15, 2006 9:43 pm Post subject: |
|
|
Am I missing something? Here are a couple of the relevant packages installed on my system.
| Code: |
* x11-base/xorg-x11
Latest version available: 7.0-r1
Latest version installed: 7.0-r1
x11-base/xorg-server
Latest version available: 1.0.2-r7
Latest version installed: 1.0.2-r7
|
|
|
| Back to top |
|
 |
Philantrop Retired Dev

Joined: 21 Dec 2004 Posts: 1129 Location: Germany
|
Posted: Sat Jul 15, 2006 9:50 pm Post subject: |
|
|
That's strange. My initial assumption was obviously wrong. It was based on the fact that I've had exactly the same problem with fonts in Emacs that you currently have. _________________ If you feel the issues discussed in this thread have been resolved, please add a "[Solved]" to the subject of your original posting. |
|
| Back to top |
|
 |
uberkermitt Tux's lil' helper

Joined: 05 Mar 2005 Posts: 107
|
Posted: Sat Jul 15, 2006 9:56 pm Post subject: |
|
|
| Ah heck - I was hoping someone would have had the same problem and have it sorted out. >: |
|
| Back to top |
|
 |
uberkermitt Tux's lil' helper

Joined: 05 Mar 2005 Posts: 107
|
Posted: Wed Jul 19, 2006 1:17 am Post subject: |
|
|
| *bump* |
|
| Back to top |
|
 |
ld50 Tux's lil' helper


Joined: 13 Feb 2005 Posts: 135
|
Posted: Wed Jul 19, 2006 1:27 am Post subject: |
|
|
| Any errors in stdout/stderr ? |
|
| Back to top |
|
 |
uberkermitt Tux's lil' helper

Joined: 05 Mar 2005 Posts: 107
|
Posted: Wed Jul 19, 2006 1:28 am Post subject: |
|
|
| Nothing at all |
|
| Back to top |
|
 |
dmpogo Advocate

Joined: 02 Sep 2004 Posts: 2000 Location: Canada
|
Posted: Wed Jul 19, 2006 2:25 am Post subject: |
|
|
1) Well, it is being said that in 7.1/nvidia problematic configuration it is often
sufficient to set
Option "RenderAccel" "false"
could you try if that changes things ? Not that you want it, but to check that this is driver issue.
2) Are you sure the fonts that emacs usually uses are installed ? I vaguely recall some postings about this being the problem. |
|
| Back to top |
|
 |
uberkermitt Tux's lil' helper

Joined: 05 Mar 2005 Posts: 107
|
Posted: Thu Jul 20, 2006 12:23 am Post subject: |
|
|
As it turns out, I took the missing font thing to heart, and managed to find this post. Basically, by finding out how to use xfontsel (it's in portage if its not installed on your computer) I chose a font I thought I'd like, and added it to my ~/.Xdefaults file. Here is an example of what I have in my own file:
| Code: | | emacs.font: -*-terminus-bold-*-normal-*-16-*-*-*-*-*-*-* |
Not sure if I like those settings, but you can see the idea of what needs to be done. I am pleased to have Emacs back. I was actually taking the time to learn Vi (which was not such a bad thing) but its slow for me when I am just learning. Sometimes when I want to do something fast, I need Emacs, and its frustrating not having my favourite editor to use. I guess I could have always used ed...
edit::
If you are playing with the ~/.Xdefaults file, note that you must log out of your session and then back in (unfortunately) to see the changes take effect.
BTW, can anyone recommend a better font that terminus for emacs? I tried courier, but I am not sure I like how that looks. I mean, that is the style I want, with serifs, but not ugly like it looks on machine. Basically what I want is my old emacs fonts back, but I don't even know what font emacs used by default. |
|
| Back to top |
|
 |
PiRmD n00b

Joined: 22 Apr 2005 Posts: 49 Location: Daya Bay NPS-Shenzhen-China
|
Posted: Mon Aug 07, 2006 11:35 am Post subject: |
|
|
Hi uberkermitt,
just in case you need to do it again, you can apply any change made in .Xdefault (or Xresources) files without restarting X by doing:
| Quote: | | xrdb -load .Xresources |
|
|
| Back to top |
|
 |
|