Home | Previous | Next | Huddart Site Map

#
Installing Mathematica fonts

If the copy of Mathematica that you are running is not installed on the machine right in front of you (for example, if you are running Mathematica on hammer.aset.psu.edu using X11), you may have some issues with fonts displaying properly. Here are some links and suggestions:

#### Linux:

http://helpdesk.princeton.edu/kb/display.plx?id=8446

#### Windows:

http://rcc.its.psu.edu/resources/software/mathematica/fonts.shtml

http://support.wolfram.com/technotes/fonts/windows/latestfonts.html

#### Mac OS X:

The steps to configuring the Mathematica fonts on a Mac OS X machine are:

- Download the Mathematica fonts from http://rcc.its.psu.edu/hpc/software/mathematica/mathematica-fonts.tgz
and unpack the files by double-clicking on the icon for the downloaded file. There should be a new directory with two subdirectories /mathematica-fonts/BDF and /mathematica-fonts/Type1 Only the Type1 fonts are needed.

- Put Type1 fonts in /usr/X11R6/lib/X11/fonts, where the Apple X11 server will find them. In the terminal window, type:
`sudo cp /path/to/fonts/Type1/*.* /usr/X11R6/lib/X11/fonts/Type1
`

- Regenerate the fonts.dir file, and add the font database to X. In the terminal window, type:
`xset fp+ /usr/X11R6/lib/X11/fonts/Type1
xset fp rehash
`

- You can then check that the fonts you just installed are on the font path by typing
`xset q
`

- You may need to edit /etc/X11/xinit/xinitrc to make these changes permanent by adding the two 'xset fp' commands from above to the file, before the window manager line.

#### Note 1:

The commands mkfontdir and xset are in /usr/X11R6/bin, which may not be in the default PATH. You can see if this is the case by issuing the command:
`echo $PATH
`

To run a command that is not on the path, you must specify the full path to the binary, e.g., by typing

`/usr/X11R6/bin/xset fp rehash
`

instead of

`xset fp rehash
`

#### Note 2:

Some of the above instructions require root or superuser access. One way to gain these privileges is to precede the privileged command by `sudo`.
Assuming you have enabled the root account, another way is to first issue the command `su - root
`.

Steven Huddart

Smeal College of Business, Penn State University, University Park, PA 16802-3603 USA

(814) 863-0048

huddart@psu.edu

vCard
Home | Previous | Next | Huddart Site Map

http://personal.psu.edu/sjh11/Courses/ACCTG597E/mathematicaFontsX11.shtml

was last updated on
Tue, Aug 21, 2018.

Today is
Tue, Aug 4, 2020.

Unless otherwise noted, all material is:

Copyright ©1995-2018 Steven Huddart. All rights reserved.