RoboFab ReadMe and installation notes

Note: from November 2007 on, the 1.1.1 version is now distributed with The BSD License.. The license information in the current 1.1.1 package still needs to be updated.

Which Python?

RoboFab works with any Python 2.2.1 and up.

Which Python for FontLab?

If you're using RoboFab in conjunction with FontLab, there are some restrictions imposed by FontLab's taste in Python. If you are using FontLab Studio in Mac OS X, you already have the necessary Python. If you are using anything previous to FontLab Studio on a Mac, you will need to install MacPython-OS9 2.3. FontLab on Windows requires at least Python 2.2.1.

Installing on Mac OSX for FontLab, 1

If you're on OSX Tiger (10.4) or Leopard (10.5), and you want to install RoboFab and its dependencies (FontTools, Numeric), for use in FontLab 5.0x, then you can use the RoboFab Installer for OSX, FontLab 5.0x. This should work for most current users on OSX.

Installing on Mac OSX for FontLab, 2

If the all-in-one installer doesn't do it for you (for instance, you want to use RoboFab outside the context of FontLab) the following instructions show you the individual steps to install RoboFab. Currently Python,org already offers version 2.5. However, on MacOSX FontLab will only work with the OS installed Python 2.3. So there's not really much point in installing a newer Python if you don't know what you're doing.

> How do I install Robofab for use with FS5 on mac?

The easiest way is to do the following:

  1. Download RoboFab and put it wherever you want it to live on your hard drive. Many people make a RoboFab folder in /Applications.
  2. Go to your Applications/Utilities folder
  3. Open Terminal
  4. Once the terminal is open, type "python " (don't use the quotes, but do put the space after "python")
  5. Drag the install.py script from the RoboFab folder into the line that you just typed in the terminal. It should now look something like this (with your name, rather than Tinkywinky):

    python /Users/Tinkywinky/RoboFab_1/install.py

    Note: if you have installed newer (2.3+) versions of python, you need to explicitly tell with which version of Python you want to install. The command would look like this:

    python2.3 /Users/Tinkywinky/RoboFab_1/install.py

  6. Hit the return key and the following should be printed in the terminal:
    Installing RoboFab: about to write a path to '/Users/Tinkywinky/RoboFab_1/
    Lib' in '/System/Library/Frameworks/Python.framework/Versions/2.3/lib/
    python2.3/site-packages/robofab.pth'...
    Robofab is now installed.
    (Note that you have to run the install script again if you move your
    RoboFab folder)
    			
  7. Restart FontLab if you had it open during this process.
This will install RoboFab for the system Python, which is what FontLab Studio uses.