changeset 1547:427e5c57da6e

[xemacs-hg @ 2003-06-30 09:12:28 by stephent] describe XFontSet in sample.Xresources <87znk07xfw.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Mon, 30 Jun 2003 09:12:28 +0000
parents 204e0afae501
children 5365af805d4c
files etc/ChangeLog etc/sample.Xresources
diffstat 2 files changed, 25 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/etc/ChangeLog	Mon Jun 30 09:10:26 2003 +0000
+++ b/etc/ChangeLog	Mon Jun 30 09:12:28 2003 +0000
@@ -1,3 +1,7 @@
+2003-05-23  Stephen J. Turnbull  <stephen@xemacs.org>
+
+	* etc/sample.Xresources (menubar and popup fonts): Use X Font Sets.
+
 2003-06-29  Norbert Koch  <viteno@xemacs.org>
 
 	* package-index.LATEST.gpg: Official package release.
--- a/etc/sample.Xresources	Mon Jun 30 09:10:26 2003 +0000
+++ b/etc/sample.Xresources	Mon Jun 30 09:12:28 2003 +0000
@@ -204,8 +204,27 @@
 ! Note that the menubar resources do not use the `face' syntax, since they
 ! are X toolkit widgets and thus outside the domain of XEmacs proper.
 ! 
-Emacs*menubar*Font: 		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
-Emacs*popup*Font:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
+! When X Font Sets are enabled with ./configure --with-xfs (eg, for
+! multilingual menubars and XIM), some .font resources (those specific to
+! the Lucid widget set) are ignored in favor of .fontSet resources.
+! Note that you need to use fontSet (or FontSet) in that case even if you
+! want to specify one font:
+!
+! *menubar*FontSet:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
+!
+! There is no harm in having both resources set, except for the confusion
+! you suffer.  Sorry; that's the price of backward compatibility.
+!
+*menubar*Font:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
+*popup*Font:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*
+*menubar*FontSet:	-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
+			-*-*-*-*-*-*-*-120-*-iso10646-1, \
+			-*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \
+			-*-*-*-*-*-*-*-120-*-jisx0201.1976-0
+*popup*FontSet:		-*-helvetica-bold-r-*-*-*-120-*-*-*-*-iso8859-*, \
+			-*-*-*-*-*-*-*-120-*-iso10646-1, \
+			-*-*-*-*-*-*-*-120-*-jisx0208.1983-0, \
+			-*-*-*-*-*-*-*-120-*-jisx0201.1976-0
 
 ! Font in the Motif dialog boxes.
 ! (Motif uses `fontList' while most other things use `font' - if you don't