>>>> "Vladimir" == Vladimir G Ivanovic
<vladimir(a)acm.org> writes:
Vladimir> I'm sure this has been answered before, but I can't find it... How
Vladimir> do I specify the default face in my ~/.Xdefaults file if I compiled
Vladimir> with GTK+ toolkit?
I'm afraid that you cannot for two reasons. Firstly, the GTK+ toolkit does
not used the Xdefaults/xrdb scheme for managing widget resources. Instead it
used its own format, with user customisations being placed in the file
~/.gtkrc.
The format of this file can be found at
http://developer.gnome.org/doc/API/2.0/gtk/gtk-Resource-Files.html
An example font changing file would be:
---------------------------------------------------------------------------
style "user-font" {
font="-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1"
}
widget_class "*" style "user-font"
---------------------------------------------------------------------------
The second reason is that GTK XEmacs does not use these resource files for
setting the default text font. You can change the foreground and background
colours, or change the background pixmap, but if you use the file above only
the menubar and other widgets will have their font changed.
Fixing this will require changes to some low-level code within XEmacs.
Solution suggestions are welcome.
Malcolm
--
Malcolm Purvis <malcolmp(a)xemacs.org>