Computer Aided Engineering Journal & Forums

Full Version: How to add fonts for remote GUI mathematica access
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Penn State HPC Group has everything written down nicely for us.
Quote:Mathematica requires its own fonts in order to display content correctly. If you are running Mathematica remotely, using an X-server, you will need to install these fonts on your local machine and tell Mathematica where to find them.
Here is the link

Copy & pasted for reference:
Installing Mathematica Fonts in Linux (with root access)
1. First you will need to download Mathematica fonts archive. [search]
2. Untar the Archive to some directory. Make sure X windows is running, and issue the following commands using your favorite terminal program, making sure you are logged in as an administrator:
Code:
mkdir -p /usr/local/mathematica/fonts
mv mathematica-fonts.tgz /usr/local/mathematica/fonts
cd /usr/local/mathematica/fonts
tar -xzvf mathematica-fonts.tgz
rm -f mathematica-fonts.tgz
3. Rebuild the fonts.dir files. Using the same terminal as in the previous step, issue the following commands:
Code:
mkfontdir /usr/local/mathematica/fonts/BDF
mkfontdir /usr/local/mathematica/fonts/Type1
4. Log in to Hammer and run Mathematica, telling Mathematica where to find the fonts:
Code:
ssh -Y <username>@server
mLinux.sh
(06-07-2010 10:48 AM)continuum Wrote: [ -> ]Penn State HPC Group has everything written down nicely for us.
Quote:Mathematica requires its own fonts in order to display content correctly. If you are running Mathematica remotely, using an X-server, you will need to install these fonts on your local machine and tell Mathematica where to find them.
Here is the link

Copy & pasted for reference:
Installing Mathematica Fonts in Linux (with root access)
1. First you will need to download Mathematica fonts archive. [search]
2. Untar the Archive to some directory. Make sure X windows is running, and issue the following commands using your favorite terminal program, making sure you are logged in as an administrator:
Code:
mkdir -p /usr/local/mathematica/fonts
mv mathematica-fonts.tgz /usr/local/mathematica/fonts
cd /usr/local/mathematica/fonts
tar -xzvf mathematica-fonts.tgz
rm -f mathematica-fonts.tgz
3. Rebuild the fonts.dir files. Using the same terminal as in the previous step, issue the following commands:
Code:
mkfontdir /usr/local/mathematica/fonts/BDF
mkfontdir /usr/local/mathematica/fonts/Type1
4. Log in to Hammer and run Mathematica, telling Mathematica where to find the fonts:
Code:
ssh -Y <username>@server
mLinux.sh

thanks Smile
Reference URL's