Adding Mathematica fonts to Hummingbird Exceed
Written by Eran Tromer with help fom
Ariel Elbaz. Last
Using Mathematica via the Exceed X server requires installation of
fonts on the PC running Exceed. In the spirit of Windows, it's
impossible to write a simple script that achieves this and the only
(documented) procedure involves manually navigating numerous obscure
dialog boxes. The following instructions describe the full installation
The instructions apply to Mathematica 4 and Matehematica 5, and
Exceed 7.0 (for Exceed 8.0, try Hummingbird's
instructions or the alternative below). The paths used reflect the
standard installation of
Exceed 7.0 at the Faculty
Mathematics and Computer Science at the
Weizmann Institute of Science, so obvious changes may be needed for
- First check whether the fonts are already installed, by running
Mathematica (at Weizmann, run "Mathematica" on the host math01-lx).
It will issue a warning if the fonts are missing. Quit Mathematica.
- Download one of the following and extract it to C:\TEMP\MATH
(e.g., using WinZip):
- Create the directory "C:\Program
- Run Exceed's Xconfig from "Start |
Programs | Hummingbird Connectivity 7.00 | Exceed | Xconfig" or "Start | Programs | Exceed | Xconfig"
- Double-click on Font.
- Choose Compile Fonts...
- In "Directories", choose
- In "List Files of Type",
choose "PCF Files" or BDF Files", depending on the version you
downloaded at step 2.
- Click "Select All"
- In "Output Font Directory",
- Click Compile
- Click Done
- When asked whether to add the directory to the font database,
- In the "File Name (*.fdb)"
edit box, enter "Mathematica".
- Change the Status radio
from Load to Keep.
- Click OK to close the "Add Font
Directory " dialog box
- Click Close to close the "Compile Fonts" dialog box
- Choose "Font Database"
- Disable "Automatic Font
Substitution " (if it is enabled)
- Click OK
- Click Close to close the "Font Settigns" dialog box
- Close Xconfig
- Delete C:\TEMP\MATH
- Make sure Mathematica is not running.
- If Exceed is running, right-click on the Exceed icon in
the taskbar and from the pop-up menu choose File | Reload
Database | Font.
Alternative solution: forget Exceed, use free software
Cygwin/X is a Windows
version of the famous XFree86 X server, which is the standard for Linux
systems. As such, it supports various extensions (e.g., "XRENDER")
that improve the functionality of many modern programs written
primarily for Linux. Installation of fonts is easily scriptable (in
with the monstrosity above!). And best of all, Cygwin/X is open source
One-time installation procedure (does not affect your existing
- Install Cygwin by
downloading and running its setup program.
Make sure to choose the X11, Archive and Net
and the wget
package in the Web
- Download the batch file cygx.bat
desktop (or some other convenient place). This batch file starts
Cygwin/X and opens an xterm window running a bash
shell on your local machine. If you installed Cygwin to a non-default
location, change the "set CYGWIN_ROOT=..." line in cygx.bat
- To install the Mathematica fonts, run cygx.bat and
paste the following command (as one long line) into the shell window:
(Alter or remove the "http_proxy=..."
at the beginning to reflect your proxy configuration.)
-xe; cd /usr/X11R6/lib/X11/fonts/misc/; for TYPE in PCF BDF; do wget -O
unzip -j -n
/tmp/$TYPE.zip; rm /tmp/$TYPE.zip; done; mkfontdir.exe; xset fp rehash;
- Make sure the above said Success.
That's it. To run Mathemaica:
- Run cygx.bat.
- Use ssh
or telnet to log into
server and run Mathematica as usual.
Please inform me of any errors
in the above and of relevant updates.