[Top][All Lists]

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

Re: using emacs with nx

From: Peter Dyballa
Subject: Re: using emacs with nx
Date: Mon, 29 Jul 2013 17:11:54 +0200

Am 29.07.2013 um 15:35 schrieb Andrew Michael Levin:

> My laptop is running windows. I don't know what or where xfontsel,
> xlsfonts, or libfontconfig are. How can I check these things?

These things are UNIX things. They get installed when you install X Windows or 
X11 (

> Is there a way to make emacs not use these fonts?

Find at least one tool that can tell you which fonts are available in that "nx" 
environment. Then choose something useful from this set and make GNU Emacs use 
fonts from this set. If the Emacs running natively in MS and that in the "nx" 
environment are using the same init file, then you can check whether these 
Emacsen see that they are running in either this or that environment. If this 
works you can optimise the init file to make GNU Emacs use optimised (font) 
settings for this or that environment.

In X11 X resources are set up to tell GNU Emacs and other X clients which 
fonts, colours, geometries, etc. to use. On non-UNIX platforms maybe GNU Emacs 
is also reading the file .Xresources or .Xdefaults, if it exists in the HOME 
directory. The contents of these files can be, for example:

Emacs.font:                     Lucida Sans 
Typewriter:autohint=true:antialias=true:style=Regular:size=7*.font:               Vera Humana 95:style=Bold:size=7
Emacs.pane.menubar.font:        Libris ADF 
Emacs.pane.menubar.*.fontList:  -*-luxi 
Emacs.pane.menubar.popup_*.*.fontList:  -*-new century 
schoolbook-bold-r-normal-*-*-70-*-*-*-*-iso10646-1*.fontList:           -*-utopia-bold-r-*-*-*-55-*-*-*-*-iso10646-1
Emacs.dialog*.font:             Lucida Sans 
Emacs.dialog*background:        RosyBrown4
Emacs.dialog*foreground:        SpringGreen3

(The font names containing the element "-*" are those delivered by the X 
server, the others are served by libfontconfig.)

If it does not read these files, then it's possible to launch GNU Emacs with 
arguments that "artificially" set X resource values: emacs -xrm 
'*.font: Vera Humana 95:style=Bold:size=7'. Or how ever this can be 
done in MS or "nx" environments!



Wasting time is an important part of living.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]