User Guide
Macro Programming
689
10
Ma c r o P r o gr a mm i n g
One of the unique features of FontLab 4 is an integrated macro
programming language. With this feature you can program repeated tasks,
define custom font transformations, create your own editing tools,
integrate FontLab into a font development system which may include other
tools, and use FontLab in many other powerful ways.
Macro programs in FontLab are written in the well-known and well-
documented Python programming language. FontLab uses the standard
version of the language so almost all macros written in Python will work in
FontLab. In addition to support of Python FontLab provides a detailed set
of classes and variables that open all the FontLab data structures to the
programming interface.
Please note that this chapter covers only the very basic features of FontLab
macro programming. We will be providing more information,
specifications and sample programs on our web site (www.fontlab.com).