[20178] in Athena Bugs
Re: emacs C-h h and international fonts
daemon@ATHENA.MIT.EDU (Greg Hudson)
Mon Feb 11 15:08:52 2002
Date: Mon, 11 Feb 2002 15:08:49 -0500
Message-Id: <200202112008.PAA11069@error-messages.mit.edu>
From: Greg Hudson <ghudson@MIT.EDU>
To: Arun A Tharuvai <aatharuv@mit.edu>
CC: bugs@mit.edu
In-reply-to: <200202111937.OAA20325@cutter-john.mit.edu>
> I know this is a bit old
Still just as applicable as it was back then, though.
> This occurs because on Linux, unlike other platforms,
> /usr/athena/lib/X11/fonts/intlfonts is not in the default font path.
> This can be fixed by adding the directory to the catalog in
> /etc/X11/fs/config , or otherwise adding that directory to the font
> path.
Here's why: on the other two platforms, we start xlogin with a "-fp"
argument which contains the intlfonts directory. On Linux, we do not
specify a -fp argument, so xlogin uses the default, which is
determined by the code:
#ifdef SOLARIS
{"fontPath", XtCString, XtRString, sizeof(String),
Offset(fontpath), XtRImmediate, (caddr_t) "/usr/openwin/lib/fonts/" },
#else
{"fontPath", XtCString, XtRString, sizeof(String),
Offset(fontpath), XtRImmediate, (caddr_t) "/usr/athena/lib/X11/fonts/misc/,/usr/athena/lib/X11/fonts/75dpi/,/usr/athena/lib/X11/fonts/100dpi/" },
#endif
which probably dates back to a day when we built all of X into
/usr/athena, or something.
There are several trivial fixes (specify a font path in
packs/config/os/linux/config, change the xlogin default, etc.), but it
would be nice to actually clean things up a little bit in the process.
For instance, do we really need to specify all those /usr/openwin font
directories in packs/config/os/solaris/config, or are they already
there in the default font path? I'm going to let that simmer for a
bit, or let some other motivated person send in a patch in the
meantime.