Penn State University Smeal College of Business
Smeal PSU
Student Exchange Smeal site map Contact us Accounting faculty directory

Steven Huddart picture
 
Should I exercise my stock options?
 
 
Research
 
Case Studies
 
Courses
 
 
Stock compensation glossary
 
Compensation links
 
Securities law links
 
Tax links
 
 
Office hours and location
 
Facts about the school
 
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://www.physics.ubc.ca/computer/mathematica/faq.phtml#home

Mac OS X:

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

  1. Download the Mathematica 6 fonts from http://support.wolfram.com/mathematica/systems/windows/general/files/MathFonts_6.0.zip and unzip by double-clicking on the icon for the downloaded file. There should be three new directories: Fonts/SVG, Fonts/TrueType and Fonts/Type1. Only the Type1 fonts are needed.

  2. Put Type1 fonts in /usr/X11R6/lib/X11/fonts, where the Apple X11 server will find them.

    sudo cp /path/to/fonts/Type1/*.* /usr/X11R6/lib/X11/fonts/Type1

  3. 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

  4. You can then check that the fonts you just installed are on the font path by typing

    xset q

  5. 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) 865-3271
(814) 863-8393 fax
huddart@psu.edu
vCard
Home | Previous | Next | Huddart Site Map

http://www.personal.psu.edu/sjh11/Courses/ACCTG597E/mathematicaFontsX11.shtml
was last updated on Wed, Oct 7, 2009.
Today is Fri, Nov 27, 2009.

Unless otherwise noted, all material is:
Copyright ©1995-2009 Steven Huddart. All rights reserved.