[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: fonts in xemacs



user list wrote:

> On Sun, Apr 25, 2004 at 02:20:25PM -0600, user list wrote:
>> I just built a testing box that is using the 2.6.4 kernel, a matrox
>> g200 graphics card with framebuffer compiled into the kernel. I am
>> now working on font problems.
>>
>> 1. In xemacs, I can get a very nice looking font for the actual
>> editing.  However, the menu bar (where things like file, edit,
>> etc. show up) has a really awful looking font.

> The Xemacs problem was elminated by turning off the font
> server. However, I don't know why.

You probably want to fiddle with ~/.Xdefaults and stick your (default)
font/colors preferences for Emacsen there.

I include mine (for GNU Emacs) here, but I don't think it's going to
appeal anyone else than me :-)

,----[ .Xdefaults ]
| Emacs*menubar*Font: -*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
| Emacs*popup*Font:-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
| 
| Emacs.Font: -b&h-lucidatypewriter-medium-r-normal-sans-18-180-75-75-m-110-iso8859-1
| 
| Emacs*geometry:         80x46
| 
| Emacs*pointerColor:     white
| 
| Emacs*menu*.background:       white
| Emacs*menu*.foreground:       black
| 
| Emacs*background:       darkslategray
| Emacs*foreground:       wheat
| 
| Emacs*menu*.background:       darkslategray
| Emacs*menu*.foreground:       wheat
| 
| Emacs*borderColor:      blue
| Emacs*cursorColor:      yellow
| 
| Emacs*bitmapIcon:       on
`----

It gets loaded with "xrdb -merge ~/.Xdefaults" (under X) if for some
reason it doesn't load in the first place.

Other than that, in (GNU's at least) Emacs you can alter the menu bar
font with something like this:

M-x set-face-font RET menu RET 7x14

There should be some equivalent elisp code to put in ~/.emacs.

>> 2. Some of the applications have tiny application fonts, even though
>> the gnome-terminal and mozilla have taken the freesans setting from
>> the desktop preferences.

May be you're not running Gnome, and therefore gnome-settings-daemon is
not loaded (it is the responsible of telling Gnome apps what font to
use, AFAIK). I make sure it gets loaded as soon as I start WindowMaker.

-- 
Cristian Gutierrez			http://www.dcc.uchile.cl/~crgutier
crgutier[@]dcc.uchile.cl                        Jabber:crgutier@jabber.org

"SUPERCOMPUTER: what it sounded like before you bought it." 



Reply to: