I'm sure this has been answered before, but I can't find it...
How do I specify the default face in my ~/.Xdefaults file if I
compiled with GTK+ toolkit?
(I know how to and can successfully set the default face in my
initialization file, or I can use the Options:Font menu item.)
This doesn't work:
Emacs.default.attributeFont: -bitstream-bitstream vera sans
mono-medium-r-normal-*-*-70-*-*-m-*-iso8859-15
I also tried
Font
fontSet
FontSet
and
XEmacs
in the appropriate parts of the font description.
Thanks.
--- Vladimir
--
Vladimir G. Ivanovic
http://leonora.org/~vladimir
Palo Alto, CA 94306 +1 650 678 8014
--------
I used
$ xrdb -merge .Xdefaults & xemacs -vanilla
to test.
--------
uname -a: Linux
bach.leonora.org 2.6.9-1.681_FC3smp-vgi #4 SMP Tue Nov 23 13:00:21 PST
2004 i686 i686 i386 GNU/Linux
./configure '--package-path=/usr/local/src/packages'
'--with-site-lisp=yes' '--with-x' '--with-gnome'
'--external-widget' '--with-gpm' '--with-xfs'
'--with-default-eol-detection' '--debug' '--error-checking=none'
'--use-union-type' '--use-kkcc' '--pdump'
XEmacs 21.5-b18 "chestnut" (+CVS-20041128) configured for `i686-pc-linux'.
Compilation Environment and Installation Defaults:
Source code location: /usr/local/src/xemacs-21.5
Installation prefix: /usr/local
Operating system description file: `s/linux.h'
Machine description file: `m/intel386.h'
Compiler version: gcc (GCC) 3.4.2 20041017 (Red Hat 3.4.2-6.fc3)
- GCC specs file: /usr/lib/gcc/i386-redhat-linux/3.4.2/specs
- Compiler command: gcc -Wall -Wno-switch -Wmissing-prototypes
-Wsign-compare -Wno-char-subscripts -Wundef -Wstrict-prototypes -Wpacked
-Wunused-parameter -g -O3
libc version: glibc-2.3.3-74
Relocating allocator for buffers: no
GNU version of malloc: yes
- Using Doug Lea's new malloc from the GNU C Library.
Window System:
Using GTK menubars.
Using GTK scrollbars.
Using GTK dialog boxes.
Using GTK native widgets.
TTY:
Compiling in support for ncurses.
Compiling in support for GPM (General Purpose Mouse).
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for TIFF images.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for Berkeley database.
Compiling in support for LDAP.
Compiling in support for PostgreSQL.
- Using PostgreSQL header file: libpq-fe.h
- Using PostgreSQL V7 bindings.
Internationalization:
- Using XFontSet to provide bilingual menubar.
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for dynamic shared object modules.
Using the union type for Lisp_Objects.
WARNING: ---------------------------------------------------------
WARNING: This tends to trigger compiler bugs, especially when
WARNING: combined with MULE and ERROR_CHECKING. Crashes have
WARNING: been seen with various versions of GCC (up to about 2.95),
WARNING: and recently with Visual C++ as well (mid-2003).
WARNING: More recent versions may be safer, or not.
WARNING: ---------------------------------------------------------
Using the new GC algorithms.
Using the new portable dumper.
Compiling in support for extra debugging code.