Re: Mathematica fonts

Matthew Hiller (matthew.hiller@yale.edu)
Tue, 15 Dec 1998 01:41:49 -0500 (EST)

Hey Don,

This message - edited, if appropriate - can also serve as the
basis of the PantheonHelp document on the subject, provided it's o.k. for
us to tell people to copy Mathematica fonts off of the Pantheon onto their
own computers.

Incidentally, I sent it on to the whole list in case anyone goes
through our archives looking for the answer to this question; at present,
they'll only see the offer of an answer without the answer itself.

HOW TO RUN MATHEMATICA ON THE PANTHEON, SENDING ITS OUTPUT TO YOUR OWN
X-SERVER (e.g., Linux box)

To run Mathematica from the Pantheon with the output redirected to
your own display, you first need to install the fonts. To do this, copy
Mathematica's fonts from the Pantheon to your own system (via ftp, or with
scp if you like the extra security). As far as I know, there's no way to
load a font from a remote machine into your own local X server. (In any
case, the performance might be bad even if there were considering there's
11 MB of font to download.) There are two font directories you want, both
of which can be found in /usr/local/mathematica/SystemFiles/Fonts/; the
directories are Type1 and X.

Once you've downloaded the fonts, the next step is to load them
into your X server. Instructions for doing this with XFree86 start in the
following paragraph. If you're running a different X server or font
server, though, I'd assume the steps will be similar.

There are a number of FontPath entries in the "Files" section of
your XF86Config file which are of the form:

FontPath "path to font"

Add two more pointing to the directories where you put the
mathematica fonts. The next time you start X, the fonts will be loaded
into the server automatically.

Incidentally, you can also add and remove directories from the
fontpath of a running X server on the fly using "xset +fp 'path to font1,
path to font2...'" and "xset -fp 'path to font1, path to font2...'",
respectively - in both cases followed by "xset fp rehash". I've have had
some problems with certain applications failing to load certain fonts when
the Mathematica fonts are in the font path, so this is actually what I do
myself.

Finally, with the font installed and read into the server, run
mathematica from mercury (or biscu) as you would any other
display-redirected application.

On Mon, 14 Dec 1998, Harald Schwefel wrote:

> Hi
>
> I read your note on the linux list and I just tried to run Mathematica
> through an xhost and unfortiunatly I could not see any integrals since I
> do not have installed the fonts.
>
> If you could give me some hints on how to install them I'd be very
> thankfull although I probably wont be able to do it this year, since of
> the finals :( and the holiday :)
>
> Thanks
>
> Harald